Επεξεργασία

Κοινή χρήση μέσω


FrameworkContentElement.OnGotFocus(RoutedEventArgs) Method

Definition

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)

Parameters

e
RoutedEventArgs

Event data for the event.

Remarks

This class handler sets appropriate focus behavior on this element if the event originated from this element. If the event's source was another element in the tree, the handler does nothing.

Override this method in order to change these default focusing behavior on your element.

Applies to