XamlSourceFocusNavigationResult Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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).
Constructors
XamlSourceFocusNavigationResult(Boolean) |
Initializes a new XamlSourceFocusNavigationResult object. |
Properties
WasFocusMoved |
Gets a value that indicates whether the focus successfully moved to the DesktopWindowXamlSource object. |