Skip to main content

DataGridView.GroupCollapsed Event

Occurs after a group of rows has been collapsed.

Namespace: DevExpress.XamarinForms.DataGrid

Assembly: DevExpress.XamarinForms.Grid.dll

NuGet Package: DevExpress.XamarinForms.Grid

Declaration

public event RowEventHandler 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 Allow property to false.

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

See Also