Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

C#
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