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
事件处理程序。