Gets the collection of GroupDescriptor objects used to organize the loaded entities into groups.

Namespace:  C1.Data.DataSource
Assembly:  C1.Silverlight.Data.Entity (in C1.Silverlight.Data.Entity.dll)

Syntax

C#
[CategoryAttribute("Common")]
public GroupDescriptorCollection GroupDescriptors { get; }
Visual Basic
<CategoryAttribute("Common")> _
Public ReadOnly Property GroupDescriptors As GroupDescriptorCollection
	Get

Remarks

Grouping only works in WPF and Silverlight. It is ignored in WinForms because WinForms data binding does not support grouping.

When a GroupDescriptor is applied, the data will inherently be sorted by the grouped property. To force a grouped property to be sorted in descending order, add a SortDescriptor to the SortDescriptors collection for that property using the Descending direction.

See Also