Compartir vía


Keyboard.AddPreviewKeyboardInputProviderAcquireFocusHandler Método

Definición

Agrega un controlador para el evento adjunto PreviewKeyboardInputProviderAcquireFocus.

public:
 static void AddPreviewKeyboardInputProviderAcquireFocusHandler(System::Windows::DependencyObject ^ element, System::Windows::Input::KeyboardInputProviderAcquireFocusEventHandler ^ handler);
public static void AddPreviewKeyboardInputProviderAcquireFocusHandler (System.Windows.DependencyObject element, System.Windows.Input.KeyboardInputProviderAcquireFocusEventHandler handler);
static member AddPreviewKeyboardInputProviderAcquireFocusHandler : System.Windows.DependencyObject * System.Windows.Input.KeyboardInputProviderAcquireFocusEventHandler -> unit
Public Shared Sub AddPreviewKeyboardInputProviderAcquireFocusHandler (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 al código y el procesamiento de atributos XAML del Keyboard.PreviewKeyboardInputProviderAcquireFocus evento adjunto.

Se aplica a