VirtualizingLayoutContext 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
表示支援虛擬化之版面配置內容類型的基類。
/// [Microsoft.UI.Xaml.CustomAttributes.MUXContractProperty(version=0)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Version(1)]
class VirtualizingLayoutContext : LayoutContext
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.XamlContract, 65536)]
class VirtualizingLayoutContext : LayoutContext
[Microsoft.UI.Xaml.CustomAttributes.MUXContractProperty(version=0)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Version(1)]
public class VirtualizingLayoutContext : LayoutContext
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.XamlContract), 65536)]
public class VirtualizingLayoutContext : LayoutContext
Public Class VirtualizingLayoutContext
Inherits LayoutContext
- 繼承
- 屬性
-
Microsoft.UI.Xaml.CustomAttributes.MUXContractPropertyAttribute MarshalingBehaviorAttribute ThreadingAttribute VersionAttribute ContractVersionAttribute
建構函式
| 名稱 | Description |
|---|---|
| VirtualizingLayoutContext() |
初始化 VirtualizingLayoutContext 類別的新實例。 |
屬性
| 名稱 | Description |
|---|---|
| Dispatcher |
它總是在 Windows 應用程式 SDK 應用程式中回傳 |
| DispatcherQueue |
得到 |
| ItemCount |
取得資料中的項目數量。 |
| LayoutOrigin |
取得或設定預估內容大小的起點。 |
| LayoutOriginCore |
在衍生或自訂的 VirtualizingLayoutContext 中實作 LayoutOrigin 的行為。 |
| LayoutState |
取得或設定一個代表版面狀態的物件。 (繼承來源 LayoutContext) |
| LayoutStateCore |
在衍生或自訂的 LayoutContext 中實作 LayoutState 的行為。 (繼承來源 LayoutContext) |
| RealizationRect |
會得到一個區域,代表視窗和緩衝區,佈局應該用實現的元素填滿它。 |
| RecommendedAnchorIndex |
取得建議的索引,從中開始產生和佈局元素。 |
| RecommendedAnchorIndexCore |
實作在衍生或自訂的 VirtualizingLayoutContext 中取得 RecommendedAnchorIndex 回傳值的行為。 |
| VisibleRect |
取得與 |