RibbonControlService.RemoveDismissPopupHandler 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
移除 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
事件處理常式。