GridControl.CollapseGroupRow(Int32) Method

Collapses the specified group row.

Namespace: DevExpress.Mobile.DataGrid

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

Declaration

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

Parameters

Type Name Description
Int32 rowHandle

An integer value that specifies the group row handle.

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