Syncfusion.SfDataGrid.XForms
Example 

SortDirection Property (SortColumnDescription)

Gets or sets the direction of sorting for the given column.
Syntax
public ListSortDirection SortDirection {get; set;}

Property Value

The direction of sorting for the given column. The default value is Syncfusion.Data.ListSortDirection.Ascending.
Example
dataGrid.AllowSorting = true;
dataGrid.SortColumnDescriptions.Add (new SortColumnDescription()
{
   ColumnName = "OrderID",
   SortDirection = ListSortDirection.Descending
});
AssemblyVersion

Syncfusion.SfDataGrid.XForms: 17.2451.0.34

See Also