KeyTipService.AddKeyTipAccessedHandler 方法

定义

添加 KeyTipAccessed 事件的路由事件处理程序。

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

参数

element
DependencyObject

附加了处理程序的路由事件的标识符。

handler
KeyTipAccessedEventHandler

要从此元素的事件处理程序集合添加的特定处理程序实现。

适用于