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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.