Scripting API

DefaultTreeViewController<T>

class in UnityEngine.UIElements · UnityEngine.CoreModule · inherits from TreeViewController

Not in Unity's public API, or in an assembly the coverage doesn't count.
In Tassix

A TreeView's items of a type: their data and TreeViewItemData by id and index.

Properties 1

IList? itemsSource { get; set; }

Methods 6

void AddItem(ref TreeViewItemData<T> item, int parentId, int childIndex, bool rebuildTree = true)
T GetDataForId(int id)
T GetDataForIndex(int index)
TreeViewItemData<T> GetTreeViewItemDataForId(int id)
TreeViewItemData<T> GetTreeViewItemDataForIndex(int index)
void SetRootItems(IList<TreeViewItemData<T>> items)

Checked against Unity

Conformance scenarios that exercise it, recorded in Unity and compared event by event.