Partager via


Keyboard.RemovePreviewKeyboardInputProviderAcquireFocusHandler Méthode

Définition

Supprime un gestionnaire pour l'événement attaché PreviewKeyboardInputProviderAcquireFocus.

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

Paramètres

element
DependencyObject

UIElement ou ContentElement qui écoute cet événement.

handler
KeyboardInputProviderAcquireFocusEventHandler

Gestionnaire d’événements à supprimer.

Remarques

Cette méthode fournit des accesseurs de propriété jointe pour l’accès du code à l’événement Keyboard.PreviewKeyboardInputProviderAcquireFocus attaché.

S’applique à