XamlSourceFocusNavigationResult 类

定义

为使用 NavigateFocus 方法将焦点导航到 DesktopWindowXamlSource 对象的请求提供数据。

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
继承
Object Platform::Object IInspectable XamlSourceFocusNavigationResult
属性

Windows 要求

设备系列
Windows Desktop Extension SDK (在 10.0.17763.0 中引入)
API contract
Windows.UI.Xaml.Hosting.HostingContract (在 v3.0 中引入)

构造函数

XamlSourceFocusNavigationResult(Boolean)

初始化 XamlSourceFocusNavigationResult 类的新实例。

属性

WasFocusMoved

获取一个值,该值指示焦点是否已成功移动到 DesktopWindowXamlSource 对象。

适用于