virtualizationMethod
The virtualization method to use for this collection when a scroll bar is visible. Takes a value from the CollectionVirtualizationMethod enum.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Property
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public CollectionVirtualizationMethod virtualizationMethod { get; set; }
Remarks
The default value is . When using fixed height, specify the _fixedItemHeight property. Fixed height is more performant but offers less flexibility on content. When using , the collection will wait for the actual height to be computed. Dynamic height is more flexible but less performant.
FixedHeightDynamicHeight