Opening and Closing Tree Control Items

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

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.