Skip to main content

AttributeGroupProvider.GetGroups(IEnumerable<MapItem>) Method

Separates source items into groups using attribute values.

Namespace: DevExpress.Xpf.Map

Assembly: DevExpress.Xpf.Map.v24.1.dll

NuGet Package: DevExpress.Wpf.Map

Declaration

public override Dictionary<object, IEnumerable<MapItem>> GetGroups(
    IEnumerable<MapItem> sourceItems
)

Parameters

Name Type Description
sourceItems IEnumerable<MapItem>

A IEnumerable<T><MapItem,> object containing map items for grouping.

Returns

Type Description
Dictionary<Object, IEnumerable<MapItem>>

A dictionary that stores pairs (value used to group items, an items group).

Remarks

The attribute whose values will be used to group items is specified using the AttributeGroupProvider.AttributeName property.

See Also