Compartir a través de


FocusManager.AddLostFocusHandler(DependencyObject, RoutedEventHandler) Método

Definición

Agrega un controlador para el evento adjunto 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)

Parámetros

element
DependencyObject

Objeto UIElement o ContentElement que escucha este evento.

handler
RoutedEventHandler

Controlador de eventos que se va a agregar.

Se aplica a