Tree Control

The Tree control displays a hierarchical list of values which can have sub nodes which expand and collapse. The nodes can represent headings in a document, the entries in an index, or the files and folders as in a file manager application. Parent nodes (nodes that contain other items) are called categories and child nodes are called items. Each node consists of a label and an optional image that you can customize. Use this control to:

  • Display a menu of items with relationships, such as a list of regions and office locations or a family tree
  • Display multiple parent-child relationships

When using the control, you can allow people to select single or multiple items depending on how you configure the control. You can use these selected items with rules, for example calling a Save or Load method to perform an action on items selected.

The following tree control shows a simple configuration with a root node, an expanded node, and a collapsed node.

See the following resources for more information: