XamlSourceFocusNavigationRequest XamlSourceFocusNavigationRequest XamlSourceFocusNavigationRequest XamlSourceFocusNavigationRequest Class

Definition

Provides information about a request to give focus to a DesktopWindowXamlSource object.

public : sealed class XamlSourceFocusNavigationRequest
struct winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationRequest
public sealed class XamlSourceFocusNavigationRequest
Public NotInheritable Class XamlSourceFocusNavigationRequest
Attributes

Windows 10 requirements

Device family
Windows Desktop Extension SDK (introduced v10.0.17763.0)
API contract
Windows.UI.Xaml.Hosting.HostingContract (introduced v3)

Constructors

XamlSourceFocusNavigationRequest(XamlSourceFocusNavigationReason) XamlSourceFocusNavigationRequest(XamlSourceFocusNavigationReason) XamlSourceFocusNavigationRequest(XamlSourceFocusNavigationReason) XamlSourceFocusNavigationRequest(XamlSourceFocusNavigationReason)

Initializes a new instance of the XamlSourceFocusNavigationRequest class with the reason for the navigation request.

XamlSourceFocusNavigationRequest(XamlSourceFocusNavigationReason, Rect) XamlSourceFocusNavigationRequest(XamlSourceFocusNavigationReason, Rect) XamlSourceFocusNavigationRequest(XamlSourceFocusNavigationReason, Rect) XamlSourceFocusNavigationRequest(XamlSourceFocusNavigationReason, Rect)

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

XamlSourceFocusNavigationRequest(XamlSourceFocusNavigationReason, Rect, Guid) XamlSourceFocusNavigationRequest(XamlSourceFocusNavigationReason, Rect, Guid) XamlSourceFocusNavigationRequest(XamlSourceFocusNavigationReason, Rect, Guid) 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.

Properties

CorrelationId CorrelationId CorrelationId CorrelationId

Gets the unique identifier for the navigation request. You can use this value for logging purposes, or if you have an existing correlation ID from an in-progress focus movement already in progress and you want to connect that focus movement with a new navigation request.

HintRect HintRect HintRect HintRect

Gets the bounding rectangle of the element in the desktop application that is losing focus (that is, the element that had focus before the DesktopWindowXamlSource received focus).

Reason Reason Reason Reason

Gets a XamlSourceFocusNavigationReason value that indicates the reason for the navigation request.