The requested page is not available for the requested platform. You are viewing the content for Default platform.

GridControl.GroupRowExpanding Event

Occurs before a group row is expanded.

Namespace: DevExpress.Mobile.DataGrid

Assembly: DevExpress.Mobile.Grid.v18.2.dll

Declaration

public event RowAllowEventHandler GroupRowExpanding
Public Event GroupRowExpanding As RowAllowEventHandler

Event Data

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

Property Description
Allow Gets or sets a value specifying whether the current operation (group row expanding or collapsing) is allowed.
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 GroupRowExpanding event is raised before a group row is expanded by an end-user or in code, allowing you to cancel this action. To prevent a group row from being expanded, set the event parameter's Allow property to false.

The GridControl.ExpandAllGroups method allows you to expand all group rows. In this instance, the GroupRowExpanding event is raised for each group.

After the group row has been expanded, the GridControl.GroupRowExpanded event is raised.

See Also