This version of Unity is unsupported.

BaseTreeView.ExpandItem

Declaration

public void ExpandItem(int id, bool expandAllChildren);

Parameters

id The TreeView item identifier.
expandAllChildren When true, all children will also get expanded. This is false by default.

Description

Expands the specified TreeView item.