Keyboard.RemovePreviewLostKeyboardFocusHandler Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Supprime un gestionnaire pour l’événement PreviewLostKeyboardFocus attaché.
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)
Paramètres
- element
- DependencyObject
Ou UIElementContentElement qui écoute cet événement.
- handler
- KeyboardFocusChangedEventHandler
Gestionnaire d’événements à supprimer.
Remarques
Cette méthode fournit des accesseurs de propriétés attachés pour l’accès au code à l’événement Keyboard.PreviewLostKeyboardFocus attaché.