UIElement.GotFocusEvent UIElement.GotFocusEvent UIElement.GotFocusEvent UIElement.GotFocusEvent Field


Identifies the GotFocus routed event.

public: static initonly System::Windows::RoutedEvent ^ GotFocusEvent;
public static readonly System.Windows.RoutedEvent GotFocusEvent;
 staticval mutable GotFocusEvent : System.Windows.RoutedEvent
Public Shared ReadOnly GotFocusEvent As RoutedEvent 

Field Value


Routed event identifiers are created when routed events are registered. These identifiers contain an identifying name, owner type, handler type, routing strategy, and utility method for adding owners for the event. You can use these identifiers to add class handlers.

For more information about registering routed events, see RegisterRoutedEvent. For more information about using routed event identifiers to add class handlers, see RegisterClassHandler.

Applies to