Keyboard.RemovePreviewLostKeyboardFocusHandler Metodo

Definizione

Rimuove un gestore per l'evento associato PreviewLostKeyboardFocus.

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

Parametri

element
DependencyObject

Oggetto UIElement o ContentElement in ascolto su questo evento.

handler
KeyboardFocusChangedEventHandler

Gestore eventi da rimuovere.

Commenti

Questo metodo fornisce funzioni di accesso alle proprietà associate per l'accesso al codice all'evento Keyboard.PreviewLostKeyboardFocus collegato.

Si applica a