A newer version of this page is available. Switch to the current version.

TreeListColumn.SortMode Property

Gets or sets how the column's data is sorted when sorting is applied.

Namespace: DevExpress.XtraTreeList.Columns

Assembly: DevExpress.XtraTreeList.v18.2.dll


public ColumnSortMode SortMode { get; set; }
Public Property SortMode As ColumnSortMode

Property Value

Type Default Description


A ColumnSortMode value specifying how the column's data is sorted in sort mode.


The SortMode property determines 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 ColumnSortMode.Custom and handle the TreeList.CustomColumnSort event.

See Also