Skip to main content
All docs
V24.2

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

HierarchicalChartControlBase.SelectionMode Property

Gets or sets the selection mode of a Sunburst or TreeMap.

Namespace: DevExpress.Xpf.TreeMap

Assembly: DevExpress.Xpf.TreeMap.v24.2.dll

NuGet Package: DevExpress.Wpf.TreeMap

#Declaration

public SelectionMode SelectionMode { get; set; }

#Property Value

Type Description
SelectionMode

A selection mode of a HierarchicalChartControlBase descendant.

Available values:

Name Description
None

Selection is disabled.

Single

One tree map item can be selected at a time.

Multiple

Several tree map items can be selected at the same time.

Extended

Extended single selection mode, allowing you to select several items with SHIFT held down.

#Remarks

The SelectionMode enum lists available values.

The following code shows how to set the SelectionMode property for the Sunburst Control:

<dxtm:SunburstControl SelectionMode="Single">
    <!--...-->
</dxtm:SunburstControl>
See Also