Skip to main content

ASPxCardView.GetSortedColumns() Method

Returns a collection of columns involved in sorting.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v22.2.dll

NuGet Package: DevExpress.Web


public ReadOnlyCollection<CardViewColumn> GetSortedColumns()


Type Description

The collection of columns involved in sorting.


The card view allows data sorting by multiple columns. The GetSortedColumns property provides access to the columns involved in sorting. This property can be used if you need to traverse through the sorted columns to perform operations on them. For example, you may want to change the sort order. Note that this collection is read only; it doesn’t allow columns to be added or removed. To apply or cancel sorting by column values, use the column’s CardViewColumn.SortOrder property.

Sorting is allowed if the ASPxGridBehaviorSettings.AllowSort property is set to true.

See Also