Edit

Share via


Keyboard.RemovePreviewKeyboardInputProviderAcquireFocusHandler Method

Definition

Removes a handler for the PreviewKeyboardInputProviderAcquireFocus attached event.

public:
 static void RemovePreviewKeyboardInputProviderAcquireFocusHandler(System::Windows::DependencyObject ^ element, System::Windows::Input::KeyboardInputProviderAcquireFocusEventHandler ^ handler);
public static void RemovePreviewKeyboardInputProviderAcquireFocusHandler (System.Windows.DependencyObject element, System.Windows.Input.KeyboardInputProviderAcquireFocusEventHandler handler);
static member RemovePreviewKeyboardInputProviderAcquireFocusHandler : System.Windows.DependencyObject * System.Windows.Input.KeyboardInputProviderAcquireFocusEventHandler -> unit
Public Shared Sub RemovePreviewKeyboardInputProviderAcquireFocusHandler (element As DependencyObject, handler As KeyboardInputProviderAcquireFocusEventHandler)

Parameters

element
DependencyObject

The UIElement or ContentElement that listens to this event.

handler
KeyboardInputProviderAcquireFocusEventHandler

The event handler to be removed.

Remarks

This method provides attached property accessors for code access to the Keyboard.PreviewKeyboardInputProviderAcquireFocus attached event.

Applies to