Skip to main content

Highlighting and Selection

The TreeMap control supports item highlighting and selection.

To enable (or disable) tree map item highlighting, set the TreeMapControl.EnableHighlighting property to true (false).


To configure selection mode, specify the HierarchicalChartControlBase.SelectionMode property.


The TreeMap control raises the HierarchicalChartControlBase.SelectionChanged event when the selected items collection is changed. Moreover, the HierarchicalChartControlBase.SelectedItems property allows you to obtain data objects (if the TreeMap is bound to data) or tree map items (in other cases).


For more information about how to modify selected item collection and process selection changes, refer to the How to: Configure Highlighting and Selection example.

See Also