# parent

> The parent of this TreeViewItem. If it is null then it is considered the root of the TreeViewItem tree.

## Definition

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

> **Warning:**
>
> **Removed.** TreeViewItem is now deprecated. You can likely now use TreeViewItem\\\<int\\> instead and not think more about it. But if you were using that identifier to store InstanceID data, you should instead opt to upgrade your TreeViews to use TreeViewItem\\\<InstanceID\\> to get the proper typing.

```csharp
public virtual TreeViewItem parent { get; set; }
```
