# Rebuild()

> Clears the collection view, recreates all visible visual elements, and rebinds all items.

## Definition

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

```csharp
public void Rebuild()
```

### Remarks

Call this method whenever a structural change is made to the view.
