CollectionViewSource.GroupDescriptions Property

 

Gets or sets a collection of GroupDescription objects that describes how the items in the collection are grouped in the view.

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

public ObservableCollection<GroupDescription> GroupDescriptions { get; }

Property Value

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

An ObservableCollection<T> of GroupDescription objects that describes how the items in the collection are grouped in the view.

This property is forwarded to any collection view created from the current Source.

<object>
  <object.GroupDescriptions>
    oneOrMorePropertyDescriptions
  </object.GroupDescriptions>
</object>

oneOrMorePropertyDescriptions

One or more elements that derive from the GroupDescriptions abstract class. Typically this is a PropertyGroupDescription.

.NET Framework
Available since 3.0
Silverlight
Available since 3.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: