ToolTipService.RemoveToolTipOpeningHandler 方法

定义

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

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

参数

element
DependencyObject

侦听此事件的 UIElementContentElement

handler
ToolTipEventHandler

要删除的事件处理程序。

适用于