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)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation

public ObservableCollection<GroupDescription> GroupDescriptions { get; }
<object>
  <object.GroupDescriptions>
    oneOrMorePropertyDescriptions
  </object.GroupDescriptions>
</object>

XAML Values

oneOrMorePropertyDescriptions

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

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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft