Set node properties. Text, Image, SelectedImage The caption of the node and the index or key of the ListImage to use for both unselected and selected nodes can be set either as parameters of the Nodes collection's Add method or by assigning values to these properties. Relative, Relationship These are not actually properties. However, as parameters of the Nodes collection's Add method, they are used to position the new node in the TreeView and therefore to set properties. When you are adding a node, Relative represents another node that is somehow related to the node being added.
Relationship denotes how the two nodes are related.
When set to 4-tvwChild, the new node becomes a child node of the Relative node. Note that when adding a child node, you can choose between defining it in relationship to its parent or to the other child nodes. Expanded When the Expanded property is set to True , any child nodes are revealed. When set to False , they are hidden. ExpandedImage Optionally, a node can display a different image when it is expanded than when it is collapsed.