VirtualizingItemsControl class¶
Defined in
Namespace: CrissCross.Avalonia.UI.Controls
Assembly: CrissCross.Avalonia.UI.dll
Full name: CrissCross.Avalonia.UI.Controls.VirtualizingItemsControl
Modifiers: public
Summary¶
Represents an items control that supports virtualization of its item containers to improve performance when
displaying large collections.
Applies to
net10.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net9.0, net9.0-browserwasm1.0, net9.0-desktop1.0, net8.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-macos14.5, net8.0-tvos17.2, netstandard2.1, net471
Class hierarchy
classDiagram
class VirtualizingItemsControl
class ItemsControl
ItemsControl <|-- VirtualizingItemsControl
Inherits from: ItemsControl
Remarks¶
VirtualizingItemsControl creates and manages item containers only for items that are visible in the viewport, reducing memory usage and layout overhead. This control is useful when working with large data sets where rendering all items at once would be inefficient. Virtualization behavior may depend on the panel used for layout and the configuration of related properties.
Constructors¶
| Name | Summary |
|---|---|
| .ctor |
Properties¶
| Name | Summary |
|---|---|
| CacheLengthUnit | Gets or sets a value indicating whether the cache length unit is enabled. |
Fields¶
| Name | Summary |
|---|---|
| static CacheLengthUnitProperty | Property for [CacheLengthUnit](# |