C1.WPF.DataGrid Namespace > C1DataGrid Class > SortBy Method : SortBy(DataGridColumn,DataGridSortDirection) Method |
'Declaration
Public Overloads Sub SortBy( _ ByVal column As DataGridColumn, _ ByVal direction As DataGridSortDirection _ )
public void SortBy( DataGridColumn column, DataGridSortDirection direction )
Exception | Description |
---|---|
DataGridSortException | This exception is raised whether the collection view is not ready to execute a sort operation. |
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