Skip to main content

DataGridView.ClearSorting() Method

In This Article

Clears the sorting applied to the grid.

Namespace: DevExpress.XamarinForms.DataGrid

Assembly: DevExpress.XamarinForms.Grid.dll

NuGet Package: DevExpress.XamarinForms.Grid

#Declaration

C#
public void ClearSorting()

#Remarks

The ClearSorting method removes all the sorting applied to any columns. To clear sorting by a particular column, set the column’s GridColumn.SortOrder property to ColumnSortOrder.None.

See Also