ToolTipService.AddToolTipClosingHandler 方法

定义

ToolTipClosing 附加事件添加处理程序。

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)

参数

element
DependencyObject

侦听此事件的 UIElementContentElement

handler
ToolTipEventHandler

要添加的事件处理程序。

适用于