Development and Programming
C# and .NET
How to collapse a TreeNode and its children?
The method TreeNode.Collapse(Boolean) can be used to collapse a TreeNode and optionally its children.
The TreeView.CollapseAll() method collapses all the TreeNode objects, including all the descendant tree nodes in the TreeView control.
© 2018 Digcode.com. All rights reserved.