KeyTipService.AddPreviewKeyTipAccessedHandler Metoda

Definice

Přidá obslužnou rutinu směrované události pro PreviewKeyTipAccessed 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, ke které je připojena obslužná rutina.

handler
KeyTipAccessedEventHandler

Konkrétní implementace obslužné rutiny, která se má přidat do kolekce obslužné rutiny události v tomto prvku.

Platí pro