Keyboard.AddKeyboardInputProviderAcquireFocusHandler Method

Adds a handler for the Keyboard.KeyboardInputProviderAcquireFocus attached event.

Namespace:  System.Windows.Input
Assembly:  PresentationCore (in PresentationCore.dll)

public static void AddKeyboardInputProviderAcquireFocusHandler(
	DependencyObject element,
	KeyboardInputProviderAcquireFocusEventHandler handler


Type: System.Windows.DependencyObject

The UIElement or ContentElement that listens to this event.

Type: System.Windows.Input.KeyboardInputProviderAcquireFocusEventHandler

The event handler to be added.

This method provides attached property accessors for code access and XAML attribute processing of the Keyboard.KeyboardInputProviderAcquireFocus attached event.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft