共用方式為


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

事件處理常式。

適用於