Back to Devexpress

HierarchicalChartControlBase.SelectionMode Property

windowsforms-devexpress-dot-xtratreemap-dot-hierarchicalchartcontrolbase-3829bb3f.md

latest3.2 KB
Original Source

HierarchicalChartControlBase.SelectionMode Property

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

Declaration

csharp
[DefaultValue(ElementSelectionMode.None)]
[XtraSerializableProperty(XtraSerializationVisibility.Hidden)]
public ElementSelectionMode SelectionMode { get; set; }
vb
<DefaultValue(ElementSelectionMode.None)>
<XtraSerializableProperty(XtraSerializationVisibility.Hidden)>
Public Property SelectionMode As ElementSelectionMode

Property Value

TypeDefaultDescription
ElementSelectionModeNone

The mode that specifies selection behavior.

|

Available values:

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

winforms-dashboard-custom-items-extension/CS/CustomItemExtension/CustomItems/SunburstChart/SunburstItemControlProvider.cs#L102

csharp
case DashboardItemMasterFilterMode.None:
    sunburst.SelectionMode = ElementSelectionMode.None;
    return;

winforms-dashboard-custom-items-extension/VB/CustomItemExtension/CustomItems/SunburstChart/SunburstItemControlProvider.vb#L113

vb
Case DashboardItemMasterFilterMode.None
    sunburst.SelectionMode = ElementSelectionMode.None
    Return

See Also

HierarchicalChartControlBase Class

HierarchicalChartControlBase Members

DevExpress.XtraTreeMap Namespace