XamlSourceFocusNavigationRequest 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
提供 DesktopWindowXamlSource 物件之焦點要求的相關信息。
public ref class XamlSourceFocusNavigationRequest sealed
/// [Windows.Foundation.Metadata.Activatable(Microsoft.UI.Xaml.Hosting.IXamlSourceFocusNavigationRequestFactory, 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 XamlSourceFocusNavigationRequest final
[Windows.Foundation.Metadata.Activatable(typeof(Microsoft.UI.Xaml.Hosting.IXamlSourceFocusNavigationRequestFactory), 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 XamlSourceFocusNavigationRequest
Public NotInheritable Class XamlSourceFocusNavigationRequest
- 繼承
- 屬性
建構函式
XamlSourceFocusNavigationRequest(XamlSourceFocusNavigationReason, Rect, Guid) |
初始化 XamlSourceFocusNavigationRequest 類別的新實例,其中包含導覽要求的原因、將接收瀏覽焦點的周框,以及要求的唯一相互關聯標識符。 初始化 XamlSourceFocusNavigationRequest 物件的新實例,以取得指定的流覽要求原因、將接收瀏覽焦點的周框,以及要求的唯一相互關聯標識符。 |
XamlSourceFocusNavigationRequest(XamlSourceFocusNavigationReason, Rect) |
初始化 XamlSourceFocusNavigationRequest 物件的新實例,以取得指定的流覽要求原因和將接收瀏覽焦點的周框。 |
XamlSourceFocusNavigationRequest(XamlSourceFocusNavigationReason) |
針對指定的流覽要求原因,初始化 XamlSourceFocusNavigationRequest 物件的新實例。 |
屬性
CorrelationId |
取得起始焦點移動事件時所產生的唯一標識符。 |
HintRect |
取得周框,用來識別最有可能接收瀏覽焦點的焦點候選專案。 |
Reason |
取得 UIElement 如何在使用 DesktopWindowXamlSource 物件來裝載 XAML 型 UI 的桌面應用程式中取得焦點。 |