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

C1.WPF.DataGrid Namespace > C1DataGrid Class > SortBy Method : SortBy(DataGridColumn,DataGridSortDirection) Method
The column that will be ordered.
The order of the column.
Sorts the data by the specified column and direction.
Syntax
'Declaration
 
Public Overloads Sub SortBy( _
   ByVal column As DataGridColumn, _
   ByVal direction As DataGridSortDirection _
) 

Parameters

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

Reference

C1DataGrid Class
C1DataGrid Members
Overload List