CollectionViewSource.GroupDescriptions Property

 
System_CAPS_noteNote

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

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 ReadOnly Property GroupDescriptions As ObservableCollection(Of GroupDescription)

Property Value

Type: System.Collections.ObjectModel.ObservableCollection(Of GroupDescription)

An ObservableCollection(Of 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: