Partilhar via


AccessKeyManager.AddAccessKeyPressedHandler Método

Definição

Adiciona um manipulador ao evento anexado 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)

Parâmetros

element
DependencyObject

O UIElement ou ContentElement que escuta esse evento.

handler
AccessKeyPressedEventHandler

O manipulador de eventos a ser adicionado.

Aplica-se a