RibbonMenuButton.OnDismissPopup(RibbonDismissPopupEventArgs) Method

Definition

Provides class handling for the DismissPopup attached event.

protected:
 virtual void OnDismissPopup(System::Windows::Controls::Ribbon::RibbonDismissPopupEventArgs ^ e);
protected virtual void OnDismissPopup (System.Windows.Controls.Ribbon.RibbonDismissPopupEventArgs e);
abstract member OnDismissPopup : System.Windows.Controls.Ribbon.RibbonDismissPopupEventArgs -> unit
override this.OnDismissPopup : System.Windows.Controls.Ribbon.RibbonDismissPopupEventArgs -> unit
Protected Overridable Sub OnDismissPopup (e As RibbonDismissPopupEventArgs)

Parameters

e
RibbonDismissPopupEventArgs

The event data.

Remarks

This method closes the menu drop-down and then marks the DismissPopup attached event as handled so that the parent drop-down is not closed.

Applies to