Keyboard.RemoveGotKeyboardFocusHandler(DependencyObject, KeyboardFocusChangedEventHandler) Método

Definición

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

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

Parámetros

element
DependencyObject

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

handler
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.GotKeyboardFocus adjuntas para el acceso de código al evento adjunto.This method provides attached property accessors for code access to the Keyboard.GotKeyboardFocus attached event.

Se aplica a