TreeListBinaryImageColumn.SortOrder Property
Gets or sets the column’s sort order.
Namespace: DevExpress.Web.ASPxTreeList
Assembly: DevExpress.Web.ASPxTreeList.v24.2.dll
Declaration
[DefaultValue(ColumnSortOrder.None)]
public override ColumnSortOrder SortOrder { get; set; }
Property Value
Type | Default | Description |
---|---|---|
ColumnSortOrder | None | 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
Read the SortOrder property’s value to determine which sort order is currently applied to the column. Assign a value to this property to sort data by the column’s values.
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. The newly sorted column is added to the collection of sorted columns. Its index within the collection can be obtained using the TreeListBinaryImageColumn.SortIndex property.
Note
Automatic sorting is not available for columns of the TreeListBinaryImageColumn type. If you need to have a sortable binary image column, you should implement your custom sorting logic by handling the ASPxTreeList.CustomNodeSort event.
To learn more, see Sorting.