public override void HideDropDown(HideCloseReason reason) { if (!dropdown.IsClosed) { if (reason == HideCloseReason.AppFocusChange || reason == HideCloseReason.Keyboard) { dropdown.CloseDropdown(false); } else { dropdown.CloseDropdown(true); } } base.HideDropDown(reason); }