Partilhar via


Keyboard.AddKeyboardInputProviderAcquireFocusHandler Método

Definição

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

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 ao código e processamento de atributo XAML do Keyboard.KeyboardInputProviderAcquireFocus evento anexado.

Aplica-se a