ToolTipService.RemoveToolTipClosingHandler(DependencyObject, ToolTipEventHandler) Method

Definition

Removes a handler for the ToolTipClosing attached event.

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

Parameters

element
DependencyObject

The UIElement or ContentElement that listens to this event.

handler
ToolTipEventHandler

The event handler to be removed.

Applies to