Språk

Keyboard.AddKeyboardInputProviderAcquireFocusHandler Metod

Definition

Lägger till en hanterare för den anslutna KeyboardInputProviderAcquireFocus händelsen.

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)

Parametrar

element
DependencyObject

Eller UIElementContentElement som lyssnar på den här händelsen.

handler
KeyboardInputProviderAcquireFocusEventHandler

Händelsehanteraren som ska läggas till.

Kommentarer

Den här metoden tillhandahåller anslutna egenskapsåtkomster för kodåtkomst och XAML-attributbearbetning av den anslutna Keyboard.KeyboardInputProviderAcquireFocus händelsen.

Gäller för