Back to Devexpress

DataGridView.GroupExpanding Event

maui-devexpress-dot-maui-dot-datagrid-dot-datagridview-37785690.md

latest2.1 KB
Original Source

DataGridView.GroupExpanding Event

Occurs before a group of rows is expanded.

Namespace : DevExpress.Maui.DataGrid

Assembly : DevExpress.Maui.DataGrid.dll

NuGet Package : DevExpress.Maui.DataGrid

Declaration

csharp
public event EventHandler<CancelRowEventArgs> GroupExpanding

Event Data

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

PropertyDescription
CancelGets or sets a value indicating whether the event should be canceled. Inherited from CancelEventArgs.
RowHandleReturns the handle of the processed row.

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 Cancel property to true 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

DataGridView Class

DataGridView Members

DevExpress.Maui.DataGrid Namespace