Compartir vía


Keyboard.RemovePreviewGotKeyboardFocusHandler Método

Definición

Quita un controlador del evento adjunto PreviewGotKeyboardFocus.

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

Objeto UIElement o ContentElement que escucha este evento.

handler
KeyboardFocusChangedEventHandler

Controlador de eventos que se va a quitar.

Comentarios

Este método proporciona descriptores de acceso de propiedad adjuntas para el Keyboard.PreviewGotKeyboardFocus acceso de código al evento adjunto.

Se aplica a