Scripting API

MultiColumnTreeView

class in UnityEngine.UIElements · UnityEngine.UIElementsModule · inherits from BaseTreeView

10 of 10 of Unity's membersUnity's documentation
In Tassix

A tree view in columns: a header, and rows of a cell per column, the primary column's cell holding the tree's indents and toggle; sorting orders siblings.

Constructors 1

Properties 6

Columns columns { get; }
SortColumnDescriptions sortColumnDescriptions { get; }
IEnumerable<SortColumnDescription> sortedColumns { get; }
bool sortingEnabled { get; set; }
ColumnSortingMode sortingMode { get; set; }
MultiColumnTreeViewController? viewController { get; }

Events 2

event Action? columnSortingChanged
event Action<ContextualMenuPopulateEvent, Column>? headerContextMenuPopulateEvent

Adds to a column header's contextual menu (after the column lines).

Checked against Unity

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