Share via


FocusNavigationRequest.Create Method

Definition

Overloads

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.

Create(FocusNavigationReason)

Creates an instance of FocusNavigationRequest using the specified FocusNavigationReason.

public:
 static FocusNavigationRequest ^ Create(FocusNavigationReason reason);
/// [Windows.Foundation.Metadata.Overload("Create")]
 static FocusNavigationRequest Create(FocusNavigationReason const& reason);
[Windows.Foundation.Metadata.Overload("Create")]
public static FocusNavigationRequest Create(FocusNavigationReason reason);
function create(reason)
Public Shared Function Create (reason As FocusNavigationReason) As FocusNavigationRequest

Parameters

reason
FocusNavigationReason

The reason for a focus navigation event.

Returns

A FocusNavigationRequest object.

Attributes

Applies to

Create(FocusNavigationReason, Rect)

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

public:
 static FocusNavigationRequest ^ Create(FocusNavigationReason reason, Rect hintRect);
/// [Windows.Foundation.Metadata.Overload("CreateWithHintRect")]
 static FocusNavigationRequest Create(FocusNavigationReason const& reason, Rect const& hintRect);
[Windows.Foundation.Metadata.Overload("CreateWithHintRect")]
public static FocusNavigationRequest Create(FocusNavigationReason reason, Rect hintRect);
function create(reason, hintRect)
Public Shared Function Create (reason As FocusNavigationReason, hintRect As Rect) As FocusNavigationRequest

Parameters

reason
FocusNavigationReason

The reason for a focus navigation event.

hintRect
Rect

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

Returns

A FocusNavigationRequest object.

Attributes

Applies to

Create(FocusNavigationReason, Rect, Guid)

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

public:
 static FocusNavigationRequest ^ Create(FocusNavigationReason reason, Rect hintRect, Platform::Guid correlationId);
/// [Windows.Foundation.Metadata.Overload("CreateWithHintRectAndId")]
 static FocusNavigationRequest Create(FocusNavigationReason const& reason, Rect const& hintRect, winrt::guid const& correlationId);
[Windows.Foundation.Metadata.Overload("CreateWithHintRectAndId")]
public static FocusNavigationRequest Create(FocusNavigationReason reason, Rect hintRect, Guid correlationId);
function create(reason, hintRect, correlationId)
Public Shared Function Create (reason As FocusNavigationReason, hintRect As Rect, correlationId As Guid) As FocusNavigationRequest

Parameters

reason
FocusNavigationReason

The reason for a focus navigation event.

hintRect
Rect

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

correlationId
Guid

Platform::Guid

winrt::guid

The unique ID generated when a focus movement event is initiated.

Returns

A FocusNavigationRequest object.

Attributes

Applies to