Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#

TreeView.SetExpandedRecursive

public void SetExpandedRecursive(int id, bool expanded);

Parameters

idTreeViewItem ID.
expandedExpanded state: true expands, false collapses.

Description

Expand or collapse all items under item with id.

This is also used internally when Alt/Option + clicking an foldout arrow of an item to expand/collapse the entire sub-tree under this item.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答