/// <summary> /// Called to inform the combo box that one of its items was changed. /// </summary> /// <param name="container">The item container that was changed.</param> internal void HandleItemChanged(ComboBoxItem container) { UpdateSelectionBox(); }
/// <summary> /// Called to inform the combo box that one of its items was clicked. /// </summary> /// <param name="container">The item container that was clicked.</param> internal void HandleItemClicked(ComboBoxItem container) { if (container != null && !GetIsSelected(container)) { BeginChangeSelection(); UnselectAllItems(); SelectContainer(container); EndChangeSelection(); } IsDropDownOpen = false; }