GridSortInfoCollection Class
Represents a collection of GridSortInfo objects.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v14.2.dll
#Declaration
#Returned By
The GridControl.SortInfo property returns an instance of GridSortInfoCollection.
#Remarks
This collection can be accessed via the GridControl.SortInfo property. It provides methods that allow you to perform common collection management tasks (add, remove or change required settings of individual elements). Adding new GridSortInfo objects to this collection applies sorting or grouping by specific columns. Similarly, removing elements from the collection clears sorting/grouping by the corresponding columns.
To learn more, see Sorting in Code.