public void CollapseTree()
public void CollapseTree()
Links are assumed to go from the parent node to the children nodes, unless TreePath is set to "Source".
This also calls SetIsTreeExpanded to set that attached property, and SetWasTreeExpanded to remember whether a tree child node had been expanded, to support data binding the state of the tree node.
This operation is performed within a "Collapse Tree" transaction.