# BeforeRowsGUI()

> This is called before any rows have their TreeView<TIdentifier>.RowGUI called.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.IMGUI.Controls](/engine/6000.5/script-reference/unityeditor/imgui/controls.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
protected virtual void BeforeRowsGUI()
```

### Remarks

Can be used together with [TreeView\<TIdentifier>.AfterRowsGUI()](/engine/6000.5/script-reference/unityeditor/imgui/controls/treeview1/afterrowsgui.md) to postprocess items or rendering.
