C1.Data.DataSource Namespace > ClientViewSource Class : GroupDescriptors Property |
'Declaration
Public ReadOnly Property GroupDescriptors As GroupDescriptorCollection
public GroupDescriptorCollection GroupDescriptors {get;}
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.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2