แก้ไข

แชร์ผ่าน


ToolTipService.AddToolTipOpeningHandler Method

Definition

Adds a handler for the ToolTipOpening attached event.

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