RibbonControlService.AddDismissPopupHandler 方法

定义

DismissPopup 附加事件添加处理程序。

public:
 static void AddDismissPopupHandler(System::Windows::DependencyObject ^ element, System::Windows::Controls::Ribbon::RibbonDismissPopupEventHandler ^ handler);
public static void AddDismissPopupHandler (System.Windows.DependencyObject element, System.Windows.Controls.Ribbon.RibbonDismissPopupEventHandler handler);
static member AddDismissPopupHandler : System.Windows.DependencyObject * System.Windows.Controls.Ribbon.RibbonDismissPopupEventHandler -> unit
Public Shared Sub AddDismissPopupHandler (element As DependencyObject, handler As RibbonDismissPopupEventHandler)

参数

element
DependencyObject

要向其添加附加事件的对象。

handler
RibbonDismissPopupEventHandler

事件处理程序。

适用于