OnGotFocus Method

TreeView.OnGotFocus Method (RoutedEventArgs)

.NET Framework (current version)
 

Raises the GotFocus routed event.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

protected override void OnGotFocus(
	RoutedEventArgs e
)

Parameters

e
Type: System.Windows.RoutedEventArgs

The data for the event.

Notes to Inheritors:

When overriding OnGotFocus in a derived class, be sure to call the base class’s OnGotFocus method so that registered delegates receive the event.

.NET Framework
Available since 4.0
Silverlight
Available since 3.0
Return to top
Show:
© 2016 Microsoft