Skip to main content

DataGridView.SortMode Property

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

public GridSortMode SortMode { get; set; }

Property Value

Type Description
GridSortMode

A GridSortMode enumeration value.

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