ToolTipService.AddToolTipClosingHandler(DependencyObject, ToolTipEventHandler) Method

Definition

Adds a handler for the ToolTipClosing attached event.

public:
 static void AddToolTipClosingHandler(System::Windows::DependencyObject ^ element, System::Windows::Controls::ToolTipEventHandler ^ handler);
public static void AddToolTipClosingHandler (System.Windows.DependencyObject element, System.Windows.Controls.ToolTipEventHandler handler);
static member AddToolTipClosingHandler : System.Windows.DependencyObject * System.Windows.Controls.ToolTipEventHandler -> unit
Public Shared Sub AddToolTipClosingHandler (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 added.

Applies to