UIElement.GettingFocusEvent
UIElement.GettingFocusEvent
UIElement.GettingFocusEvent
UIElement.GettingFocusEvent
Property
Definition
Gets the identifier for the GettingFocus routed event.
public : static RoutedEvent GettingFocusEvent { get; }
static RoutedEvent GettingFocusEvent();
public static RoutedEvent GettingFocusEvent { get; }
Public Shared ReadOnly Property GettingFocusEvent As RoutedEvent
Property Value
The identifier for the GettingFocus routed event.
Additional features and requirements
Device family |
Windows 10 Creators Update (introduced v10.0.15063.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced v4)
|
Remarks
We recommend using the UIElement focus routed events instead of FocusManager events whenever possible.
Only a single UI element at a time can have focus.
A control can get focus when another control loses focus, the application view changes, the user switches applications, or the user interacts with the system such that the application is no longer in the foreground.
See also
- GettingFocusEventArgs
- GettingFocus GettingFocus GettingFocus GettingFocus
- GotFocus GotFocus GotFocus GotFocus
- LostFocus LostFocus LostFocus LostFocus
- LosingFocusEvent
- LosingFocus LosingFocus LosingFocus LosingFocus
- Focus(FocusState)
- AddHandler(RoutedEvent, Object, Boolean)
- Events and routed events overview
- Keyboard interactions
- Focus navigation for keyboard, gamepad, remote control, and accessibility tools
- Programmatic focus navigation
フィードバック
フィードバックを読み込んでいます...