/// <summary> /// Hides the drop down. /// </summary> public void HideDropDown() { if (dropDown != null) { dropDown.Hide(); } }
private bool InternalProcessResizing(ref Message m, bool contentControl) { if (m.Msg == NativeMethods.WM_NCACTIVATE && m.WParam != IntPtr.Zero && childPopup != null && childPopup.Visible) { childPopup.Hide(); } if (!Resizable) { return(false); } if (m.Msg == NativeMethods.WM_NCHITTEST) { return(OnNcHitTest(ref m, contentControl)); } else if (m.Msg == NativeMethods.WM_GETMINMAXINFO) { return(OnGetMinMaxInfo(ref m)); } return(false); }