RibbonFilterMenuButton.OnDismissPopup Method
Provides class handling for the DismissPopup attached event.
Namespace: Microsoft.Windows.Controls.Ribbon
Assembly: RibbonControlsLibrary (in RibbonControlsLibrary.dll)
Syntax
'Declaration
Protected Overrides Sub OnDismissPopup ( _
e As RibbonDismissPopupEventArgs _
)
protected override void OnDismissPopup(
RibbonDismissPopupEventArgs e
)
protected:
virtual void OnDismissPopup(
RibbonDismissPopupEventArgs^ e
) override
abstract OnDismissPopup :
e:RibbonDismissPopupEventArgs -> unit
override OnDismissPopup :
e:RibbonDismissPopupEventArgs -> unit
protected override function OnDismissPopup(
e : RibbonDismissPopupEventArgs
)
Parameters
- e
Type: Microsoft.Windows.Controls.Ribbon.RibbonDismissPopupEventArgs
The event data.
Remarks
This method closes the filter menu drop-down and then marks the DismissPopup attached event as handled so that the parent drop-down is not closed.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.