共用方式為


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

要移除的事件處理常式。

適用於