Keyboard.AddKeyboardInputProviderAcquireFocusHandler Methode

Definition

Fügt einen Handler für das KeyboardInputProviderAcquireFocus angefügte Ereignis hinzu.

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)

Parameter

element
DependencyObject

Die UIElement oder ContentElement die auf dieses Ereignis lauscht.

handler
KeyboardInputProviderAcquireFocusEventHandler

Der hinzuzufügende Ereignishandler.

Hinweise

Diese Methode stellt angefügte Eigenschaftenaccessoren für den Codezugriff und die XAML-Attributverarbeitung des Keyboard.KeyboardInputProviderAcquireFocus angefügten Ereignisses bereit.

Gilt für: