ColumnBase.SortOrder Property
In This Article
Gets or sets the column's sort order. This is a dependency property.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v14.2.Core.dll
#Declaration
#Property Value
Type | Description |
---|---|
Column |
A Column |
#Remarks
Any previous sorting is not cleared when changing the SortOrder property's value. The new sort order applies an additional sorting condition to the one previously applied.
To apply sorting, you can also use the GridControl.SortBy method. To learn more, see Sorting in Code.
See Also