Back to Devexpress

DataSortMode Enum

maui-devexpress-dot-maui-dot-core-3eabc8f4.md

latest1.6 KB
Original Source

DataSortMode Enum

Lists values that specify how values are sorted and grouped.

Namespace : DevExpress.Maui.Core

Assembly : DevExpress.Maui.Core.dll

NuGet Package : DevExpress.Maui.Core

Declaration

csharp
public enum DataSortMode

Members

NameDescription
Default

Sorts the data according to the type of the editor assigned to the column.

| | Value |

Sorts the column data by the column’s edit values (these are synchronized with the bound data source’s values).

| | DisplayText |

Sorts the column data by the column’s display text (that are strings displayed in column cells).

| | Custom |

Indicates that a custom algorithm is used to sort data. To implement the custom sort algorithm for a grid, handle its CustomSort event. In the DataGridView, the Custom mode also enables custom grouping for rows. To implement a custom group algorithm, handle the CustomGroup event.

|

The following properties accept/return DataSortMode values:

Extension Methods

Yield<DataSortMode>()

YieldIfNotNull<DataSortMode>()

See Also

DevExpress.Maui.Core Namespace