XamlSourceFocusNavigationRequest Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- Attributes
Constructors
XamlSourceFocusNavigationRequest(XamlSourceFocusNavigationReason) |
Initializes a new instance of a XamlSourceFocusNavigationRequest object for the the specified navigation request reason. |
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, 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. |
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 Windows.UI.Xaml.UIElement got focus in a desktop application that uses a DesktopWindowXamlSource object to host XAML-based UI. |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for