A specialized collection for RadItem objects that supports virtualization for performance optimization in large datasets.
This collection integrates with IVirtualViewport to provide virtualization capabilities, allowing UI controls to efficiently handle large numbers of items by only creating visual elements for items currently in view. The collection automatically notifies the viewport about data changes to maintain virtualization state.
Definition
Namespace:Telerik.WinControls
Assembly:Telerik.WinControls.dll
Syntax:
public class RadItemVirtualizationCollection : RadItemCollection, IList, ICollection, IEnumerable, IVirtualizationCollection
Inheritance: objectCollectionBaseRadItemCollectionRadItemVirtualizationCollection
Implements:
Inherited Members
Constructors
Initializes a new instance of the RadItemVirtualizationCollection class.
public RadItemVirtualizationCollection()
Initializes a new instance of the RadItemVirtualizationCollection class with the specified viewport.
public RadItemVirtualizationCollection(IVirtualViewport ownerViewport)
The virtual viewport that will manage virtualization for this collection.
Properties
Gets or sets the virtual viewport that manages the virtualization behavior for this collection.
[Browsable(false)]
public IVirtualViewport OwnerViewport { get; set; }
The IVirtualViewport instance that handles virtualization operations.
The viewport is responsible for determining which items are visible and need to be realized, and manages the virtualization lifecycle for performance optimization.
Methods
Raises the clearing notification before the collection is emptied, unless notifications are suspended.
protected override void OnClear()
Overrides:
Raises the cleared notification after the collection has been emptied, unless notifications are suspended.
protected override void OnClearComplete()
Overrides:
Raises the set notification after an item has been replaced, unless notifications are suspended.
Raises the sorting notification before Sort() reorders the items, unless notifications are suspended.
protected override void OnSort()
Overrides:
Raises the sorted notification after Sort() reorders the items, unless notifications are suspended.
protected override void OnSortComplete()
Overrides: