# BeforeRowsGUI()

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

## Definition

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

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

### Remarks

Can be used together with [TreeView.AfterRowsGUI()](/engine/6000.0/script-reference/unityeditor/imgui/controls/treeview/afterrowsgui.md) to postprocess items or rendering.
