The C1TreeNodeCollection class provides the Remove method and the RemoveAt method for removing nodes from TreeView. You can use either of the two methods with the Nodes collection of C1TreeView to remove parent nodes from TreeView. To remove a child node from a parent node or children nodes from a child node, you can use either of the two methods with the Nodes collection of C1TreeNode.
The Remove method and the RemoveAt method removes a single node at a time. However, to remove all nodes simultaneously from the Nodes collection of TreeView, a parent node, or a child node, you can use the Clear method with the Nodes collection of C1TreeView or C1TreeNode, respectively.
Here is the code snippet demonstrating how to set these methods.
After removing the nodes, the treeview appears like the following.