The requested page is not available for the requested platform. You are viewing the content for Default platform.

ColumnBase.SortMode Property

Gets or sets how the column's data is sorted when sorting is applied to it. This is a dependency property.

Namespace: DevExpress.UI.Xaml.Grid

Assembly: DevExpress.UI.Xaml.Grid.v18.2.dll

Declaration

[XtraSerializableProperty]
public ColumnSortMode SortMode { get; set; }
<XtraSerializableProperty>
Public Property SortMode As ColumnSortMode

Property Value

Type Default Description
ColumnSortMode

Default

A ColumnSortMode enumeration value that specifies the sort mode.

Remarks

The SortMode property specifies the algorithm used to sort the column's data (by display text, edit value or using a custom sorting algorithm).

To provide custom sorting, set the SortMode property to 'Custom' and handle the GridControl.CustomColumnSort event.

See Also