RibbonControlService.RemoveDismissPopupHandler 方法

定义

移除 DismissPopup 附加事件的处理程序。

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

参数

element
DependencyObject

从其中删除附加事件的对象。

handler
RibbonDismissPopupEventHandler

事件处理程序。

适用于