Skip to main content

DataGridView.AllowSort Property

Specifies whether end users can sort data in the grid.

Namespace: DevExpress.XamarinForms.DataGrid

Assembly: DevExpress.XamarinForms.Grid.dll

NuGet Package: DevExpress.XamarinForms.Grid

Declaration

[XtraSerializableProperty]
public bool AllowSort { get; set; }

Property Value

Type Description
Boolean

true, to allow end users to sort data; otherwise, false.

Remarks

If the AllowSort property is set to true, the grid allows end users to sort data.

To override the grid’s default behavior for an individual column, use the GridColumn.AllowSort property of the corresponding column object.

See Also