# GetCellRectForTreeFoldouts(Rect)

> Utility for multi column setups. This method will clip the input rowRect against the column rect defined by columnIndexForTreeFoldouts to get the cell rect where the the foldout arrows appear.

## Definition

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

```csharp
protected Rect GetCellRectForTreeFoldouts(Rect rowRect)
```

### Parameters

**** (\[Rect]\(/engine/6000.3/script-reference/unityengine/rect)): Rect for a row.

### Returns

| Type                                                        | Description                        |
| ----------------------------------------------------------- | ---------------------------------- |
| [Rect](/engine/6000.3/script-reference/unityengine/rect.md) | Cell rect in a multi column setup. |

### Remarks

Additional Resources: [MultiColumnHeader](/engine/6000.3/script-reference/unityeditor/imgui/controls/multicolumnheader.md).
