Skip to main content

SelectionChangedEventArgs.SelectedGroups Property

Returns the collection of selected group paths.

Namespace: DevExpress.XtraTreeMap

Assembly: DevExpress.XtraTreeMap.v24.1.dll

NuGet Package: DevExpress.TreeMap

Declaration

public IEnumerable SelectedGroups { get; }

Property Value

Type Description
IEnumerable

Collection of selected group 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:

SelectionChangedEventArgs_SelectedGroups

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