Gets a collection of GroupDescription objects that describe how the items in the collection are grouped in the view.
Assembly: PresentationFramework (in PresentationFramework.dll)
Property ValueType: System.Collections.ObjectModel.ObservableCollection<GroupDescription>
A collection of GroupDescription objects that describe how the items in the collection are grouped in the view.
This property can only be set by accessing the collection object and using its various methods such as Add. The property to access the collection object itself is read-only; the collection itself is read/write.
The following example shows how to use this property:
// This groups the items in the view by the property "Category" PropertyGroupDescription groupDescription = new PropertyGroupDescription(); groupDescription.PropertyName = "Category"; listingDataView.GroupDescriptions.Add(groupDescription);
For the complete example, see Data Binding Demo.
Available since 3.0