Skip to content

Latest commit

 

History

History
36 lines (22 loc) · 1.63 KB

gettingfocuseventargs.md

File metadata and controls

36 lines (22 loc) · 1.63 KB
-api-id -api-type
T:Windows.UI.Xaml.Input.GettingFocusEventArgs
winrt class

Windows.UI.Xaml.Input.GettingFocusEventArgs

-description

Provides data for the FocusManager.GettingFocus and UIElement.GettingFocus events.

-remarks

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.

Version history

Windows version SDK version Value added
1803 17134 TryCancel
1803 17134 TrySetNewFocusedElement
1809 17763 CorrelationId

-see-also

GettingFocusEvent, GettingFocus, GotFocus, Control.Focus, AddHandler, Events and routed events overview, Keyboard interactions, Focus navigation for keyboard, gamepad, remote control, and accessibility tools, Programmatic focus navigation

-examples