# viewController

> The view controller for this view, cast as a TreeViewController.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine.UIElements](/engine/6000.0/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

```csharp
public TreeViewController viewController { get; }
```
