Skip to main content
ON

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

C#
public enum DataSortMode

#Members

Name Description
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.

#Related API Members

The following properties accept/return DataSortMode values:

See Also