windowsforms-devexpress-dot-xtratreemap-dot-hierarchicalchartcontrolbase-3829bb3f.md
Gets or sets the value that defines how an end user can select items in a treemap / sunburst.
Namespace : DevExpress.XtraTreeMap
Assembly : DevExpress.XtraTreeMap.v25.2.UI.dll
NuGet Package : DevExpress.Win.TreeMap
[DefaultValue(ElementSelectionMode.None)]
[XtraSerializableProperty(XtraSerializationVisibility.Hidden)]
public ElementSelectionMode SelectionMode { get; set; }
<DefaultValue(ElementSelectionMode.None)>
<XtraSerializableProperty(XtraSerializationVisibility.Hidden)>
Public Property SelectionMode As ElementSelectionMode
| Type | Default | Description |
|---|---|---|
| ElementSelectionMode | None |
The mode that specifies selection behavior.
|
Available values:
| Name | Description |
|---|---|
| None |
Selection is disabled.
| | Single |
One item can be selected at a time.
| | Multiple |
Several items can be selected at the same time.
| | Extended |
Extended single selection mode, allowing you to select several items with the SHIFT key held down.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SelectionMode property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
case DashboardItemMasterFilterMode.None:
sunburst.SelectionMode = ElementSelectionMode.None;
return;
Case DashboardItemMasterFilterMode.None
sunburst.SelectionMode = ElementSelectionMode.None
Return
See Also
HierarchicalChartControlBase Class