FrameworkContentElement.OnGotFocus(RoutedEventArgs) FrameworkContentElement.OnGotFocus(RoutedEventArgs) FrameworkContentElement.OnGotFocus(RoutedEventArgs) FrameworkContentElement.OnGotFocus(RoutedEventArgs) Method

Definición

Controlador de clases para el evento GotFocus.Class handler for the GotFocus event.

protected:
 override void OnGotFocus(System::Windows::RoutedEventArgs ^ e);
protected override void OnGotFocus (System.Windows.RoutedEventArgs e);
override this.OnGotFocus : System.Windows.RoutedEventArgs -> unit
Protected Overrides Sub OnGotFocus (e As RoutedEventArgs)

Parámetros

e
RoutedEventArgs RoutedEventArgs RoutedEventArgs RoutedEventArgs

Datos del evento.Event data for the event.

Comentarios

Este controlador de clase establece el comportamiento de foco adecuado en este elemento si el evento se originó a partir de este elemento.This class handler sets appropriate focus behavior on this element if the event originated from this element. Si el origen del evento fuera otro elemento del árbol, el controlador no hace nada.If the event's source was another element in the tree, the handler does nothing.

Invalide este método para cambiar este comportamiento de enfoque predeterminado en su elemento.Override this method in order to change these default focusing behavior on your element.

Se aplica a