Partilhar via


FocusManager.AddLostFocusHandler(DependencyObject, RoutedEventHandler) Método

Definição

Adiciona um manipulador ao evento anexado 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

O UIElement ou ContentElement que escuta esse evento.

handler
RoutedEventHandler

O manipulador de eventos a ser adicionado.

Aplica-se a