Skip to main content
A newer version of this page is available. .
Tab

ASPxCardView.GetSortedColumns() Method

Returns a collection of columns involved in sorting.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.1.dll

Declaration

public ReadOnlyCollection<CardViewColumn> GetSortedColumns()

Returns

Type Description
ReadOnlyCollection<CardViewColumn>

The collection of columns involved in sorting.

Remarks

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