AccessKeyManager.AddAccessKeyPressedHandler Méthode

Définition

Ajoute un gestionnaire pour l'événement attaché AccessKeyPressed.

public:
 static void AddAccessKeyPressedHandler(System::Windows::DependencyObject ^ element, System::Windows::Input::AccessKeyPressedEventHandler ^ handler);
public static void AddAccessKeyPressedHandler (System.Windows.DependencyObject element, System.Windows.Input.AccessKeyPressedEventHandler handler);
static member AddAccessKeyPressedHandler : System.Windows.DependencyObject * System.Windows.Input.AccessKeyPressedEventHandler -> unit
Public Shared Sub AddAccessKeyPressedHandler (element As DependencyObject, handler As AccessKeyPressedEventHandler)

Paramètres

element
DependencyObject

UIElement ou ContentElement qui écoute cet événement.

handler
AccessKeyPressedEventHandler

Gestionnaire d’événements à ajouter.

S’applique à