ColumnBase.SortOrder Property
Gets or sets the column’s sort order. This is a dependency property.
Namespace: DevExpress.UI.Xaml.Grid
Assembly: DevExpress.UI.Xaml.Grid.v21.2.dll
NuGet Package: DevExpress.Uwp.Controls
Declaration
Property Value
Type | Description |
---|---|
ColumnSortOrder | A ColumnSortOrder enumeration value that specifies the column’s sort order. |
Available values:
Name | Description |
---|---|
None | No sorting is applied to a column. |
Ascending | Sorts the column in ascending order. |
Descending | Sorts the columns in descending order. |
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.
See Also