Condividi tramite


FocusManager.AddLostFocusHandler(DependencyObject, RoutedEventHandler) Metodo

Definizione

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

Parametri

element
DependencyObject

Oggetto UIElement o ContentElement in ascolto su questo evento.

handler
RoutedEventHandler

Gestore eventi da aggiungere.

Si applica a