ColumnBase.SortMode Property
In This Article
Gets or sets how the column's data is sorted when sorting is applied to it. This is a dependency property.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v14.2.Core.dll
#Declaration
[DefaultValue(ColumnSortMode.Default)]
[XtraSerializableProperty]
public ColumnSortMode SortMode { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Column |
Default |
A Column |
#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 and/or grouping, set the SortMode property to 'Custom' and handle the GridControl.CustomColumnSort and GridControl.CustomColumnGroup events.
To learn more, see Sorting Modes and Custom Sorting.
See Also