Keyboard.AddPreviewKeyboardInputProviderAcquireFocusHandler Método

Definição

Adiciona um handler para o PreviewKeyboardInputProviderAcquireFocus evento anexado.

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

A UIElement sala de operações ContentElement que ouve este evento.

handler
KeyboardInputProviderAcquireFocusEventHandler

O gestor de eventos a ser adicionado.

Observações

Este método fornece acessórios de propriedade anexados para acesso ao código e processamento de atributos XAML do Keyboard.PreviewKeyboardInputProviderAcquireFocus evento anexado.

Aplica-se a