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

Event Data

The GroupRowCollapsed event handler receives an argument of the RowEventArgs type. The following properties provide information specific to this event.

Property Description
RowHandle Gets the row handle.

Remarks

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