Version: 2018.2
public void CollapseAll ();

Description

Collapse all expanded items in the TreeView.