Skip to main content

GridControl.SortInfo Property

Provides access to the collection of sorted and grouping columns.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v22.2.dll

NuGet Package: DevExpress.Wpf.Grid.Core


public GridSortInfoCollection SortInfo { get; }

Property Value

Type Description

A GridSortInfoCollection collection that contains information on the sorted and grouping columns.


The SortInfo property represents the collection of GridSortInfo objects, allowing you to sort and group data. A GridSortInfo object specifies a column, its sort order and a grouping flag, which is set to true if grouping is applied to this column. The SortInfo collection provides methods that allow you to perform common collection management tasks (add, remove or change required settings of individual elements).

To learn more, see Sorting and Sorting in Code.

The following code snippets (auto-collected from DevExpress Examples) contain references to the SortInfo property.


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