Share via


XamlSourceFocusNavigationResult Class

Definition

Provides data for a request to navigate focus to a DesktopWindowXamlSource object by using the NavigateFocus(Microsoft.UI.Xaml.Hosting.XamlSourceFocusNavigationRequest) method.

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
Inheritance
Object Platform::Object IInspectable XamlSourceFocusNavigationResult
Attributes

Examples

This sample shows how to add a WASDK island with XAML content to a Win32 app (the Windows App SDK runtime must be installed for the app to run).

Simple Island App

Constructors

XamlSourceFocusNavigationResult(Boolean)

Initializes a new XamlSourceFocusNavigationResult object.

Properties

WasFocusMoved

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

Applies to

See also