ItemCollection.GroupDescriptions Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets a collection of GroupDescription objects that defines how to group the items.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

override GroupDescriptions : ObservableCollection<GroupDescription> with get

Property Value

Type: System.Collections.ObjectModel.ObservableCollection<GroupDescription>

An ObservableCollection<'T> of GroupDescription objects. The collection is indexed by the group levels.

Use the CanGroup property to test whether the current implementation supports grouping before adding GroupDescription objects.


This property can be set only by accessing the collection object and using its various methods, such as Add. The property to access the collection object is read-only, while the collection itself is read-write.

For a related example, see PropertyGroupDescription.

.NET Framework
Available since 3.0
Return to top