Skip to main content

DataGridView.GroupExpanding Event

Occurs before a group of rows is expanded.

Namespace: DevExpress.XamarinForms.DataGrid

Assembly: DevExpress.XamarinForms.Grid.dll

NuGet Package: DevExpress.XamarinForms.Grid

Declaration

public event RowAllowEventHandler GroupExpanding

Event Data

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

Property Description
Allow Gets or sets whether to allow or prohibit an operation with the row.
RowHandle Gets the grid’s row handle. Inherited from RowEventArgs.

Remarks

The GroupExpanding event is raised before a group of data rows is expanded from UI or code (ExpandGroupRow). You can handle this event and set its parameter’s Allow property to false to prevent a group from being expanded.

When you call the ExpandAllGroups method, the GroupExpanding event is raised for each group.

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

See Also