FocusNavigationRequest Class

Definition

Provides details for focus navigation events.

public ref class FocusNavigationRequest sealed
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.WindowsAppSDKContract, 65541)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class FocusNavigationRequest final
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.WindowsAppSDKContract), 65541)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class FocusNavigationRequest
Public NotInheritable Class FocusNavigationRequest
Inheritance
Object Platform::Object IInspectable FocusNavigationRequest
Attributes

Remarks

This object is passed in the FocusNavigationRequestEventArgs of InputFocusController and InputFocusNavigationHost focus navigation events.

Properties

CorrelationId

Gets the unique ID generated when a focus movement event is initiated.

HintRect

Gets the bounding rectangle used to identify the focus candidates most likely to receive navigation focus.

Reason

Gets the reason for a focus navigation event.

Methods

Create(FocusNavigationReason)

Creates an instance of FocusNavigationRequest using the specified FocusNavigationReason.

Create(FocusNavigationReason, Rect)

Creates an instance of FocusNavigationRequest using the specified FocusNavigationReason and hint Rect.

Create(FocusNavigationReason, Rect, Guid)

Creates an instance of FocusNavigationRequest using the specified FocusNavigationReason, hint Rect, and unique identifier.

Applies to