Redigera

Dela via


KeyTipService.AddPreviewKeyTipAccessedHandler Method

Definition

Adds the routed event handler for the PreviewKeyTipAccessed event.

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