# CollectionVirtualizationMethod

> Options to change the virtualization method used by the collection view to display its content.

## Definition

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

```csharp
public enum CollectionVirtualizationMethod
```

## Fields

| Value                                                                                                                   | Description                                                                                                                                                       |
| ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [DynamicHeight](/engine/6000.0/script-reference/unityengine/uielements/collectionvirtualizationmethod/dynamicheight.md) | Collection view will use the actual height of every item when geometry changes. More flexible but less performant.                                                |
| [FixedHeight](/engine/6000.0/script-reference/unityengine/uielements/collectionvirtualizationmethod/fixedheight.md)     | Collection view won't wait for the layout to update items, as the all have the same height. `fixedItemHeight` Needs to be set. More performant but less flexible. |
