Condividi tramite


Keyboard.RemovePreviewGotKeyboardFocusHandler Metodo

Definizione

Rimuove un gestore per l'evento associato 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)

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.PreviewGotKeyboardFocus collegato.

Si applica a