Skip to content

Latest commit

 

History

History
34 lines (19 loc) · 1.69 KB

uielement_losingfocusevent.md

File metadata and controls

34 lines (19 loc) · 1.69 KB
-api-id -api-type
P:Windows.UI.Xaml.UIElement.LosingFocusEvent
winrt property

Windows.UI.Xaml.UIElement.LosingFocusEvent

-description

Gets the identifier for the LosingFocus routed event.

-property-value

The identifier for the LosingFocus routed event.

-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 lose focus when another control gets 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.

-examples

-see-also

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