XamlSourceFocusNavigationResult 类

定义

通过使用 NavigateFocus (Microsoft.UI.Xaml.Hosting.XamlSourceFocusNavigationRequest) 方法,为将焦点导航到 DesktopWindowXamlSource 对象的请求提供数据。

public ref class XamlSourceFocusNavigationResult sealed
/// [Windows.Foundation.Metadata.Activatable(Microsoft.UI.Xaml.Hosting.IXamlSourceFocusNavigationResultFactory, 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 XamlSourceFocusNavigationResult final
[Windows.Foundation.Metadata.Activatable(typeof(Microsoft.UI.Xaml.Hosting.IXamlSourceFocusNavigationResultFactory), 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 XamlSourceFocusNavigationResult
Public NotInheritable Class XamlSourceFocusNavigationResult
继承
Object Platform::Object IInspectable XamlSourceFocusNavigationResult
属性

构造函数

XamlSourceFocusNavigationResult(Boolean)

初始化新的 XamlSourceFocusNavigationResult 对象。

属性

WasFocusMoved

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

适用于