Back to Devexpress

GridControl.SortInfo Property

wpf-devexpress-dot-xpf-dot-grid-dot-gridcontrol-22d86ce9.md

latest1.9 KB
Original Source

GridControl.SortInfo Property

Provides access to the collection of sorted and grouping columns.

Namespace : DevExpress.Xpf.Grid

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
[Browsable(false)]
public GridSortInfoCollection SortInfo { get; }
vb
<Browsable(False)>
Public ReadOnly Property SortInfo As GridSortInfoCollection

Property Value

TypeDescription
GridSortInfoCollection

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

|

Remarks

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.

See Also

SortBy

GroupBy

GridControl Class

GridControl Members

DevExpress.Xpf.Grid Namespace