共用方式為


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 物件。

適用於