ComponentOne DataGrid for WPF and Silverlight
C1.Silverlight.DataGrid Namespace / C1DataGrid Class / GroupBy Method / GroupBy(DataGridColumn,DataGridSortDirection) Method
The column that will be grouped by.
The order of the group.

In This Topic
    GroupBy(DataGridColumn,DataGridSortDirection) Method
    In This Topic
    Groups the data by the specified column and direction.
    Syntax
    'Declaration
     
    
    Public Overloads Sub GroupBy( _
       ByVal column As DataGridColumn, _
       ByVal direction As DataGridSortDirection _
    ) 

    Parameters

    column
    The column that will be grouped by.
    direction
    The order of the group.
    Exceptions
    ExceptionDescription
    This exception is raised whether the collection view is not ready to execute a group operation.
    See Also