Partager via


FocusManager.RemoveGotFocusHandler Méthode

Définition

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

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

Paramètres

element
DependencyObject

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

handler
RoutedEventHandler

Gestionnaire d’événements à supprimer.

S’applique à