# Sandbox.UI.BaseTreeView.SelectRow

```csharp
void SelectRow(int row, bool toggle = False, bool range = False)
```

Select a row the way a click would: plain replaces, ctrl toggles, shift ranges from the anchor.

### Parameters

- `row` (`int`)
- `toggle` (`bool`), default `False`
- `range` (`bool`), default `False`

Declared in [Sandbox.UI.BaseTreeView](/api/Sandbox.UI.BaseTreeView).
Assembly: `Sandbox.Engine`.
