# Sandbox.UI.BaseTreeView.GetRowDepth

```csharp
int GetRowDepth(int row)
```

Depth of a row, roots being zero.

### Parameters

- `row` (`int`)

### Returns

`int`

Declared in [Sandbox.UI.BaseTreeView](/api/Sandbox.UI.BaseTreeView).
Assembly: `Sandbox.Engine`.
