KeyTipService.AddPreviewKeyTipAccessedHandler Metoda

Definice

Přidá obslužnou rutinu PreviewKeyTipAccessed směrované události pro událost.

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)

Parametry

element
DependencyObject

Identifikátor směrované události, pro kterou je obslužná rutina připojena.

handler
KeyTipAccessedEventHandler

Konkrétní implementace obslužné rutiny pro přidání do kolekce obslužné rutiny události v tomto prvku.

Platí pro