You can open and close individual parent items in a tree control at run time in any of the following ways:

  • Click the expand/contract symbol to the left of the parent item.
  • Double-click the parent item tag or its hierarchy lines.
  • Use the + and – keys on the numeric keypad.
  • Use the right and left arrow keys.

You also can right-click a tree control and select Open All Items from the shortcut menu to open all items in the tree control at once. Right-click a tree control and select Close All Items from the shortcut menu to close all items in the tree control at once.