Back to Devexpress

HierarchicalChartControlBase.SelectedGroups Property

windowsforms-devexpress-dot-xtratreemap-dot-hierarchicalchartcontrolbase-e005cf35.md

latest3.2 KB
Original Source

HierarchicalChartControlBase.SelectedGroups Property

Returns information about groups that are currently selected in the TreeMap or Sunburst control.

Namespace : DevExpress.XtraTreeMap

Assembly : DevExpress.XtraTreeMap.v25.2.UI.dll

NuGet Package : DevExpress.Win.TreeMap

Declaration

csharp
[Browsable(false)]
[XtraSerializableProperty(XtraSerializationVisibility.Hidden)]
public SelectedGroupCollection SelectedGroups { get; }
vb
<Browsable(False)>
<XtraSerializableProperty(XtraSerializationVisibility.Hidden)>
Public ReadOnly Property SelectedGroups As SelectedGroupCollection

Property Value

TypeDescription
SelectedGroupCollection

The collection of selected groups’ paths.

|

Remarks

The group path consists of data items that this and parent groups visualize. The item order within this collection specifies the nesting level within the Tree Map or Sunburst. For example, the following image demonstrates two selected groups: the “50 - 60 years” and the “70 - 80 years” | “United States” subgroup:

The group path contains a collection with one value equals “50 - 60 years” in the first case. And the second path includes two values: “70 - 80 years” and “United States”.

Note that the data items’ concrete type depends on the controls’ data adapter type:

|

Data Adapter Type

|

Data Item Type

| | --- | --- | |

TreeMapFlatDataAdapter

SunburstFlatDataAdapter

|

Data items are values of data source fields that the adapter’s GroupDataMembers property specifies. The data item order corresponds to the group order in the data member collection.

| |

TreeMapHierarchicalDataAdapter

SunburstHierarchicalDataAdapter

|

Data items are data objects that the hierarchical data adapter provides. The item order is from the parent item to the selected item.

| |

TreeMapItemStorage

SunburstItemStorage

|

TreeMapItems or SunburstItems that the item storage contains. The item order is from the parent item to the selected item.

|

See Also

HierarchicalChartControlBase Class

HierarchicalChartControlBase Members

DevExpress.XtraTreeMap Namespace