This documentation is archived and is not being maintained.
TreeView Control Overview (Windows Forms)
.NET Framework 3.0
With the Windows Formscontrol, you can display a hierarchy of nodes to users, like the way files and folders are displayed in the left pane of the Windows Explorer feature of the Windows operating system. Each node in the tree view might contain other nodes, called child nodes. You can display parent nodes, or nodes that contain child nodes, as expanded or collapsed. You can also display a tree view with check boxes next to the nodes by setting the tree view's property to true. You can then programmatically select or clear nodes by setting the node's property to true or false.