Control.OnGotFocus(RoutedEventArgs) Method

Definition

Called before the GotFocus event occurs.

Equivalent WinUI method: Microsoft.UI.Xaml.Controls.Control.OnGotFocus.

void OnGotFocus(RoutedEventArgs const & e);
protected virtual void OnGotFocus(RoutedEventArgs e);
function onGotFocus(e)
Protected Overridable Sub OnGotFocus (e As RoutedEventArgs)

Parameters

e
RoutedEventArgs

The data for the event.

Applies to

See also