Method CollapseAll
CollapseAll()
Collapses this TreeViewItem and all the child tree items.
public virtual void CollapseAll()
Remarks
The CollapseAll() method collapses this TreeViewItem and all the child tree items assigned to the Items collection.