Occurs before a group of rows is expanded.
public event RowAllowEventHandler GroupExpanding
The GroupExpanding event's data class is RowAllowEventArgs. The following properties provide information specific to this event:
|Allow||Gets or sets whether to allow or prohibit an operation with the row.|
|RowHandle||Gets the grid’s row handle. Inherited from RowEventArgs.|
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.