次の方法で共有


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 オブジェクトに正常に移動されたかどうかを示す値を取得します。

適用対象