Keyboard.AddKeyboardInputProviderAcquireFocusHandler(DependencyObject, KeyboardInputProviderAcquireFocusEventHandler) Keyboard.AddKeyboardInputProviderAcquireFocusHandler(DependencyObject, KeyboardInputProviderAcquireFocusEventHandler) Keyboard.AddKeyboardInputProviderAcquireFocusHandler(DependencyObject, KeyboardInputProviderAcquireFocusEventHandler) Keyboard.AddKeyboardInputProviderAcquireFocusHandler(DependencyObject, KeyboardInputProviderAcquireFocusEventHandler) Method

Definición

Agrega un controlador para el evento adjunto KeyboardInputProviderAcquireFocus.Adds a handler for the KeyboardInputProviderAcquireFocus attached event.

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 DependencyObject DependencyObject DependencyObject

Objeto UIElement o ContentElement que escucha este evento.The UIElement or ContentElement that listens to this event.

Comentarios

Este método proporciona descriptores de acceso de propiedad adjuntos para el Keyboard.KeyboardInputProviderAcquireFocus acceso al código y XAMLXAML el procesamiento de atributos del evento adjunto.This method provides attached property accessors for code access and XAMLXAML attribute processing of the Keyboard.KeyboardInputProviderAcquireFocus attached event.

Se aplica a