Skip to main content

ColumnSortMode Enum

Lists the values that specify how a column’s data should be sorted.

Namespace: DevExpress.XtraGrid

Assembly: DevExpress.Data.v24.1.dll

NuGet Package: DevExpress.Data

Declaration

public enum ColumnSortMode

Members

Name Description
Default

The actual sort mode is determined by a control. See the property description for more details.

Value

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

DisplayText

Sorts the column’s data by the column’s display text (the strings displayed within the column’s cells).

Custom

Applies sort options specified in the CustomColumnSort event handler.

In data grids, this mode also applies group options from the CustomColumnGroup event handler.

Related API Members

The following properties accept/return ColumnSortMode values:

Library Related API Members
WinForms Controls GridColumn.SortMode
TreeListColumn.SortMode
WPF Controls ColumnBase.SortMode
TreeViewControl.SortMode
ASP.NET Web Forms Controls ASPxGridBehaviorSettings.SortMode
GridDataColumnSettings.SortMode
WinUI Controls ColumnBase.SortMode

See Also