GridControl.CollapseGroupRow(Int32) Method

Collapses the specified group row.

Namespace: DevExpress.Mobile.DataGrid

Assembly: DevExpress.Mobile.Grid.v18.2.dll


public void CollapseGroupRow(
    int rowHandle
Public Sub CollapseGroupRow(
    rowHandle As Integer


Name Type Description
rowHandle Int32

An integer value that specifies the group row handle.



This documentation topic describes legacy technology. We no longer develop new functionality for the GridControl and suggest that you use the new DataGridView control instead.

Before a group row is collapsed, the GridControl.GroupRowCollapsing event is raised, allowing you to cancel the action. After a group row has been collapsed, the GridControl.GroupRowCollapsed event is raised.

To collapse all group rows, use the GridControl.CollapseAllGroups method.

To expand group rows, use the GridControl.ExpandAllGroups or GridControl.ExpandGroupRow method.

See Also