DataGridView.SortMode Property
In This Article
Specifies whether the grid allows data sorting by multiple columns or by a single column only.
Namespace: DevExpress.XamarinForms.DataGrid
Assembly: DevExpress.XamarinForms.Grid.dll
NuGet Package: DevExpress.XamarinForms.Grid
#Declaration
C#
public GridSortMode SortMode { get; set; }
#Property Value
Type | Description |
---|---|
Grid |
A Grid |
Available values:
Name | Description |
---|---|
Single | The grid allows sorting data by only a single column at a time. |
Multiple | The grid allows sorting data by multiple columns. |
#Remarks
To control whether the sorting is available for end users, use the DataGridView.AllowSort or GridColumn.AllowSort property.
See Also