# GetRows()

> This is the list of TreeViewItems that have been built in TreeView<TIdentifier>.BuildRows.

## Definition

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

```csharp
public virtual IList<TreeViewItem<TIdentifier>> GetRows()
```

### Returns

| Type                                                                                                  | Description |
| ----------------------------------------------------------------------------------------------------- | ----------- |
| [IList\<TreeViewItem\<T>>](https://learn.microsoft.com/dotnet/api/system.collections.generic.ilist-1) | Rows.       |
