Use the TreeNode.Collapse method to conveniently collapse the current node.
As an alternative, you can also set the TreeNode.Expanded property to false.
To collapse the current node and all its child nodes, consider using the TreeNode.CollapseAll method.
TreeView.CollapseAll will collapse all the nodes in the entire tree.