Skip to main content

GridViewModel.SortedColumns Property

Gets a collection of sorted columns.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public ReadOnlyCollection<GridViewColumnState> SortedColumns { get; }

Property Value

Type Description
ReadOnlyCollection<GridViewColumnState>

A collection of GridViewColumnState objects providing information about the sorted columns within the GridView.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SortedColumns property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also