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
建構函式
VirtualizingLayoutContext() |
初始化 VirtualizingLayoutContext 類別的新實例。 |
屬性
Dispatcher |
一律會在 Windows 應用程式 SDK 應用程式中傳 |
DispatcherQueue |
|
ItemCount |
取得數據中的項目數。 |
LayoutOrigin |
取得或設定估計內容大小的源點。 |
LayoutOriginCore |
在衍生或自定義 VirtualizingLayoutContext 中實作 LayoutOrigin 的行為。 |
LayoutState |
取得或設定 物件,表示版面配置的狀態。 (繼承來源 LayoutContext) |
LayoutStateCore |
在衍生或自定義 LayoutContext 中實作 LayoutState 的行為。 (繼承來源 LayoutContext) |
RealizationRect |
取得區域,表示配置應該填滿已實現項目的檢視區和緩衝區。 |
RecommendedAnchorIndex |
取得要從中開始產生和配置項目的建議索引。 |
RecommendedAnchorIndexCore |
實作在衍生或自定義 VirtualizingLayoutContext 中取得 RecommendedAnchorIndex 傳回值的行為。 |
VisibleRect |
取得與 |