Keyboard.RemovePreviewGotKeyboardFocusHandler(DependencyObject, KeyboardFocusChangedEventHandler) Keyboard.RemovePreviewGotKeyboardFocusHandler(DependencyObject, KeyboardFocusChangedEventHandler) Keyboard.RemovePreviewGotKeyboardFocusHandler(DependencyObject, KeyboardFocusChangedEventHandler) Keyboard.RemovePreviewGotKeyboardFocusHandler(DependencyObject, KeyboardFocusChangedEventHandler) Method

Definición

Quita un controlador del evento adjunto PreviewGotKeyboardFocus.Removes a handler for the PreviewGotKeyboardFocus attached event.

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)

Parámetros

element
DependencyObject DependencyObject DependencyObject DependencyObject

Objeto UIElement o ContentElement que escucha este evento.The UIElement or ContentElement that listens to this event.

handler
KeyboardFocusChangedEventHandler KeyboardFocusChangedEventHandler KeyboardFocusChangedEventHandler KeyboardFocusChangedEventHandler

Controlador de eventos que se va a quitar.The event handler to be removed.

Comentarios

Este método proporciona los descriptores de acceso de las propiedades Keyboard.PreviewGotKeyboardFocus adjuntas para el acceso de código al evento adjunto.This method provides attached property accessors for code access to the Keyboard.PreviewGotKeyboardFocus attached event.

Se aplica a