Share via


XamlSourceFocusNavigationRequest Class

Definition

Provides information about a focus request for a DesktopWindowXamlSource object.

public ref class XamlSourceFocusNavigationRequest sealed
/// [Windows.Foundation.Metadata.Activatable(Microsoft.UI.Xaml.Hosting.IXamlSourceFocusNavigationRequestFactory, 327680, "Microsoft.UI.Xaml.WinUIContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 327680)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class XamlSourceFocusNavigationRequest final
[Windows.Foundation.Metadata.Activatable(typeof(Microsoft.UI.Xaml.Hosting.IXamlSourceFocusNavigationRequestFactory), 327680, "Microsoft.UI.Xaml.WinUIContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 327680)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class XamlSourceFocusNavigationRequest
Public NotInheritable Class XamlSourceFocusNavigationRequest
Inheritance
Object Platform::Object IInspectable XamlSourceFocusNavigationRequest
Attributes

Constructors

XamlSourceFocusNavigationRequest(XamlSourceFocusNavigationReason, Rect, Guid)

Initializes a new instance of the XamlSourceFocusNavigationRequest class with the reason for the navigation request, the bounding rectangle that will receive navigation focus, and the unique correlation ID for the request.

Initializes a new instance of a XamlSourceFocusNavigationRequest object for the the specified navigation request reason, the bounding rectangle that will receive navigation focus, and the unique correlation ID for the request.

XamlSourceFocusNavigationRequest(XamlSourceFocusNavigationReason, Rect)

Initializes a new instance of a XamlSourceFocusNavigationRequest object for the the specified navigation request reason and the bounding rectangle that will receive navigation focus.

XamlSourceFocusNavigationRequest(XamlSourceFocusNavigationReason)

Initializes a new instance of a XamlSourceFocusNavigationRequest object for the the specified navigation request reason.

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 how a UIElement got focus in a desktop application that uses a DesktopWindowXamlSource object to host XAML-based UI.

Applies to