Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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).

TreeMap_EnableHighlighting

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

TreeMap_SelectionMode

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).

TreeMap_SelectionChanged

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