[]
        
(Showing Draft Content)

C1.Data.DataSource.ClientViewSource.GroupDescriptors

GroupDescriptors Property

GroupDescriptors

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

Declaration
public GroupDescriptorCollection GroupDescriptors { 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.