Partager via


FocusManager.AddLostFocusHandler(DependencyObject, RoutedEventHandler) Méthode

Définition

Ajoute un gestionnaire pour l'événement attaché LostFocus.

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

Paramètres

element
DependencyObject

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

handler
RoutedEventHandler

Gestionnaire d’événements à ajouter.

S’applique à