TreeListColumn.SortMode Property

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

Namespace: DevExpress.XtraTreeList.Columns

Assembly: DevExpress.XtraTreeList.v20.1.dll

Declaration

[DXCategory("Data")]
[DefaultValue(ColumnSortMode.Default)]
[XtraSerializableProperty]
public ColumnSortMode SortMode { get; set; }
<DXCategory("Data")>
<DefaultValue(ColumnSortMode.Default)>
<XtraSerializableProperty>
Public Property SortMode As ColumnSortMode

Property Value

Type Default Description
ColumnSortMode

Default

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

Remarks

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