Redigera

Dela via


KeyTipService.AddKeyTipAccessedHandler Method

Definition

Adds the routed event handler for the KeyTipAccessed event.

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)

Parameters

element
DependencyObject

The identifier of the routed event for which the handler is attached.

handler
KeyTipAccessedEventHandler

The specific handler implementation to add to the event handler collection on this element.

Applies to