xamarin-devexpress-dot-mobile-dot-datagrid-dot-gridcontrol-ccfc6707.md
Occurs after a group row has been collapsed.
Namespace : DevExpress.Mobile.DataGrid
Assembly : DevExpress.Mobile.Grid.v18.2.dll
public event RowEventHandler GroupRowCollapsed
Public Event GroupRowCollapsed As RowEventHandler
The GroupRowCollapsed event's data class is RowEventArgs. The following properties provide information specific to this event:
| Property | Description |
|---|---|
| RowHandle | Gets the row handle. |
Important
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.
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