Språk

Keyboard.RemovePreviewGotKeyboardFocusHandler Metod

Definition

Tar bort en hanterare för den anslutna PreviewGotKeyboardFocus händelsen.

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

Parametrar

element
DependencyObject

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

handler
KeyboardFocusChangedEventHandler

Händelsehanteraren som ska tas bort.

Kommentarer

Den här metoden tillhandahåller anslutna egenskapsåtkomster för kodåtkomst till den anslutna Keyboard.PreviewGotKeyboardFocus händelsen.

Gäller för