Compartilhar via


Keyboard.AddPreviewKeyboardInputProviderAcquireFocusHandler Método

Definição

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

O UIElement ou ContentElement que escuta esse evento.

handler
KeyboardInputProviderAcquireFocusEventHandler

O manipulador de eventos a ser adicionado.

Comentários

Esse método fornece acessadores de propriedade anexados para acesso a código e processamento de atributo XAML do Keyboard.PreviewKeyboardInputProviderAcquireFocus evento anexado.

Aplica-se a