ComponentOne DataGrid for WPF and Silverlight
GroupBy(DataGridColumn,DataGridSortDirection,Boolean) Method

C1.Silverlight.DataGrid Namespace > C1DataGrid Class > GroupBy Method : GroupBy(DataGridColumn,DataGridSortDirection,Boolean) Method
The column that will be grouped by.
The order of the group.
If true, the other columns will preserve the current state.
Groups the data by the specified column and direction.
Syntax
'Declaration
 
Public Overloads Sub GroupBy( _
   ByVal column As DataGridColumn, _
   ByVal direction As DataGridSortDirection, _
   ByVal preserveOtherColumnsGrouping As System.Boolean _
) 

Parameters

column
The column that will be grouped by.
direction
The order of the group.
preserveOtherColumnsGrouping
If true, the other columns will preserve the current state.
Exceptions
ExceptionDescription
This exception is raised whether the collection view is not ready to execute a group operation.
See Also

Reference

C1DataGrid Class
C1DataGrid Members
Overload List