Keyboard.AddPreviewKeyboardInputProviderAcquireFocusHandler Methode

Definitie

Hiermee voegt u een handler toe voor de PreviewKeyboardInputProviderAcquireFocus gekoppelde gebeurtenis.

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)

Parameters

element
DependencyObject

De UIElement of ContentElement die luistert naar deze gebeurtenis.

handler
KeyboardInputProviderAcquireFocusEventHandler

De gebeurtenis-handler die moet worden toegevoegd.

Opmerkingen

Deze methode biedt gekoppelde eigenschapstoegangsors voor codetoegang en XAML-kenmerkverwerking van de Keyboard.PreviewKeyboardInputProviderAcquireFocus gekoppelde gebeurtenis.

Van toepassing op