Dela via


XamlSourceFocusNavigationResult Class

Definition

Provides data for a request to navigate focus to a DesktopWindowXamlSource object by using the NavigateFocus method.

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

Windows requirements

Device family
Windows Desktop Extension SDK (introduced in 10.0.17763.0)
API contract
Windows.UI.Xaml.Hosting.HostingContract (introduced in v3.0)

Constructors

XamlSourceFocusNavigationResult(Boolean)

Initializes a new instance of the XamlSourceFocusNavigationResult class.

Properties

WasFocusMoved

Gets a value that indicates whether the focus successfully moved to the DesktopWindowXamlSource object.

Applies to