Skip to main content

GridControl.GroupBy(GridColumn, ColumnSortOrder) Method

Groups data by the values of the specified column with the specified sort order.

Namespace: DevExpress.Xpf.Grid

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

#Declaration

public void GroupBy(
    GridColumn column,
    ColumnSortOrder sortedOrder
)

#Parameters

Name Type Description
column GridColumn

A GridColumn object that represents the column by whose values data is grouped.

sortedOrder ColumnSortOrder

A ColumnSortOrder enumeration value that specifies the column's sort order.

#Remarks

The DXGrid for Silverlight control supports data grouping by an unlimited number of columns. The GroupBy method groups data by the values of the specified column.

To learn more, see Grouping Overview.

See Also