Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 1.53 KB

control_removefocusengagement_1145062848.md

File metadata and controls

26 lines (16 loc) · 1.53 KB
-api-id -api-type
M:Microsoft.UI.Xaml.Controls.Control.RemoveFocusEngagement
winrt method

Microsoft.UI.Xaml.Controls.Control.RemoveFocusEngagement

-description

Releases the control from focus constraints that support game controller interactions (where IsFocusEngaged is true).

-remarks

When the IsFocusEngagementEnabled property is set to true, it marks the control as requiring focus engagement. This means that the user must press the A/Select button to "engage" the control and interact with it. When they are finished, they can press the B/Back button to disengage the control and navigate away from it. You can call RemoveFocusEngagement to programmatically disengage a control.

Focus engagement makes it easier to use a game controller to interact with an app. Setting focus engagement does not affect keyboard or other input devices. For more info, see Focus engagement.

-examples

-see-also

FocusEngaged, FocusEngagedEventArgs, FocusDisengaged, FocusDisengagedEventArgs, Focus engagement, XY focus navigation and interaction