Compartir a través de


Keyboard.AddKeyboardInputProviderAcquireFocusHandler Método

Definición

Agrega un controlador para el evento adjunto KeyboardInputProviderAcquireFocus.

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

Parámetros

element
DependencyObject

Objeto UIElement o ContentElement que escucha este evento.

handler
KeyboardInputProviderAcquireFocusEventHandler

Controlador de eventos que se va a agregar.

Comentarios

Este método proporciona descriptores de acceso de propiedad adjuntas para el acceso a código y el procesamiento de atributos XAML del Keyboard.KeyboardInputProviderAcquireFocus evento adjunto.

Se aplica a