FocusManager.AddGotFocusHandler(DependencyObject, RoutedEventHandler) Método

Definição

Adiciona um manipulador ao evento anexado GotFocus.

public:
 static void AddGotFocusHandler(System::Windows::DependencyObject ^ element, System::Windows::RoutedEventHandler ^ handler);
public static void AddGotFocusHandler (System.Windows.DependencyObject element, System.Windows.RoutedEventHandler handler);
static member AddGotFocusHandler : System.Windows.DependencyObject * System.Windows.RoutedEventHandler -> unit
Public Shared Sub AddGotFocusHandler (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