protected virtual void OnPDropDownClosed(DropDownClosedEventArgs e)
 {
     if (this.DropDownClosed != null)
     {
         this.DropDownClosed(this, e);
     }
 }
Esempio n. 2
0
        private void DropDownHelper_DropDownClosed(object sender, DropDownClosedEventArgs e)
        {
            IDropDownAware dropDown = (e.DropDown as IDropDownAware);

            if ((dropDown != null) && (dropDown.Value != null))
            {
                dropDown.FinishEditing -= new DropDownValueChangedEventHandler(DropDown_FinishEditing);
                dropDown.ValueChanged  -= new DropDownValueChangedEventHandler(DropDown_ValueChanged);
            }

            combo.DroppedDown = false;
        }
 protected virtual void OnPDropDownClosed(DropDownClosedEventArgs e)
 {
     if (this.DropDownClosed != null)
     {
         this.DropDownClosed(this, e);
     }
 }