Selecting Parent Items in Tree Controls

Complete the following steps to allow users to select items that have other items indented under them and items that are not child-only and do not have other items indented under them.

  1. Right-click the tree control.
  2. Select Selection Mode»Allow Selection of Parent Items from the shortcut menu. If you remove the checkmark next to this item, the user can select only items that you configure as child-only items.

You also can use the Allow Selection of Parent Items property to select parent items programmatically.