Skip to main content

DataGridView.GroupCollapsed Event

Occurs after a group of rows has been collapsed.

Namespace: DevExpress.Maui.DataGrid

Assembly: DevExpress.Maui.DataGrid.dll

NuGet Package: DevExpress.Maui.DataGrid

Declaration

public event EventHandler<RowEventArgs> GroupCollapsed

Event Data

The GroupCollapsed event's data class is RowEventArgs. The following properties provide information specific to this event:

Property Description
RowHandle Gets the grid’s row handle.

Remarks

The GroupCollapsed event is raised after a group of data rows has been collapsed from UI or code (CollapseGroupRow. This event serves as a notification and does not allow you to cancel the action. To prevent a group from being collapsed, handle the GroupCollapsing event and set its parameter’s Cancel property to true.

When you call the CollapseAllGroups method, the GroupCollapsed event is raised for each group.

See Also