RibbonMenuButton.OnDismissPopup(RibbonDismissPopupEventArgs) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.