Control.FocusEngaged Event

Definition

Occurs as focus is constrained to the control when the user presses the A/Select button on a game controller.

C#
public event TypedEventHandler<Control,FocusEngagedEventArgs> FocusEngaged;
XAML
<control FocusEngaged="eventhandler"/>

Event Type

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.

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.

Applies to

Product Versions
Windows App SDK 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6

See also