/// <summary>
 /// Hides the drop down.
 /// </summary>
 public void HideDropDown()
 {
     if (dropDown != null)
     {
         dropDown.Hide();
     }
 }
Esempio n. 2
0
 public void HideDropDown()
 {
     if (PopupDropDown != null)
     {
         PopupDropDown.Hide();
     }
 }
Esempio n. 3
0
        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);
            }
            switch (m.Msg)
            {
            case NativeMethods.WM_NCHITTEST:
                return(OnNcHitTest(ref m, contentControl));

            case NativeMethods.WM_GETMINMAXINFO:
                return(OnGetMinMaxInfo(ref m));
            }
            return(false);
        }