With a tree view, you can view and interact with a hierarchically arranged collection of objects, using either single selection or multiple selection.
In a tree, objects that contain data are called leaf nodes and objects that contain other objects are called container nodes. A single, top-most container node is called the root node. Users can expand and collapse container nodes by clicking the expander icons.
Nodes and leaves can provide an associated context menu, this context menu can have a default entry that is initiated when you double click on the node or leaf.
Key |
Meaning |
Asterisk (*) on numeric keypad |
Display all sub-items under the selected item. |
Plus sign (+) on numeric keypad |
Display the sub-items directly under the selected item. |
Minus sign (-) on numeric keypad |
Collapse the items directly under the selected item group. |
left arrow |
Collapse the current selection (if it is expanded) and move focus to the group leaf root. |
right arrow |
Display the sub-items directly under the selected item (if it is collapsed). |
Alt+left arrow |
View the previous group. |
Alt+right arrow |
View the next group. |
Ctrl+up arrow |
Scroll the view without change of the selection. |
Ctrl+down arrow |
Scroll the view without change of the selection. |
Any printable key or keys |
Moves the selection to the item matching prefix letters in the beginning of the label |
Table 1: Keyboard shortcuts for tree view controls
Figure 1: A tree view control as used in the Domain Explorer