KeyTipService.AddKeyTipAccessedHandler(DependencyObject, KeyTipAccessedEventHandler) Méthode

Définition

Ajoute le gestionnaire d'événements routé pour l'événement KeyTipAccessed.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)

Paramètres

element
DependencyObject

Identificateur de l'événement routé pour lequel le gestionnaire est attaché.The identifier of the routed event for which the handler is attached.

handler
KeyTipAccessedEventHandler

Implémentation de gestionnaire spécifique à ajouter à la collection de gestionnaires d'événements de cet élément.The specific handler implementation to add to the event handler collection on this element.

S’applique à