# virtualizationMethod

> The virtualization method to use for this collection when a scroll bar is visible. Takes a value from the CollectionVirtualizationMethod enum.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine.UIElements](/engine/6000.7/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

```csharp
[UxmlAttribute]
public CollectionVirtualizationMethod virtualizationMethod { get; set; }
```

### Remarks

The default value is `FixedHeight`. When using fixed height, specify the [\_fixedItemHeight](/engine/6000.7/script-reference/unityengine/uielements/baseverticalcollectionview/fixeditemheight.md) property. Fixed height is more performant but offers less flexibility on content. When using `DynamicHeight`, the collection will wait for the actual height to be computed. Dynamic height is more flexible but less performant.
