/// <summary> /// Hides the Popup control. /// </summary> public void HideDropDown() { if (BindedControl == null) { return; } BindedControl.ClosePopup(); }
/// <summary> /// Fires the BindPopupControl and shows the container panel with the control specified in the <see cref="BindPopupControlEventArgs.BindedControl">BindPopupControlEventArgs.BindedControl</see>. /// Binded control should implement <see cref="IPopupControl">IPopupControl</see> interface. /// </summary> public void ShowDropDown() { if (BindedControl == null) { OnBindingPopupControl(new BindPopupControlEventArgs(this)); } if (BindedControl != null) { OnPopupShowing(EventArgs.Empty); BindedControl.ShowPopup(); } }