The requested page is not available for the requested platform. You are viewing the content for Default platform.

GridControl.GroupRowCollapsed Event

Occurs after a group row has been collapsed.

Namespace: DevExpress.Mobile.DataGrid

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

Declaration

public event RowEventHandler GroupRowCollapsed
Public Event GroupRowCollapsed As RowEventHandler

Remarks

The GroupRowCollapsed event is raised after a group row has been collapsed by an end-user or in code. This event serves as a notification and the action cannot be cancelled. To control whether individual group rows can be collapsed, handle the GridControl.GroupRowCollapsing event. For instance, to prevent a group row from being collapsed, set the GroupRowCollapsing event parameter's RowAllowEventArgs.Allow property to false.

The GridControl.CollapseAllGroups method allows you to collapse all group rows. In this instance, the GroupRowCollapsed event is raised for each group.

See Also