KeyTipService.AddActivatingKeyTipHandler 方法

定义

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

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

参数

element
DependencyObject

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

handler
ActivatingKeyTipEventHandler

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

适用于