RibbonMenuButton.OnDismissPopup(RibbonDismissPopupEventArgs) 方法

定义

提供用于 DismissPopup 附加事件的类处理。

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)

参数

e
RibbonDismissPopupEventArgs

事件数据。

注解

此方法关闭菜单下拉列表,然后将附加事件标记为 DismissPopup 已处理,以便父下拉列表不会关闭。

适用于