Back to Devexpress

DataGridView.GroupCollapsed Event

maui-devexpress-dot-maui-dot-datagrid-dot-datagridview-73fa8015.md

latest1.7 KB
Original Source

DataGridView.GroupCollapsed Event

Occurs after a group of rows has been collapsed.

Namespace : DevExpress.Maui.DataGrid

Assembly : DevExpress.Maui.DataGrid.dll

NuGet Package : DevExpress.Maui.DataGrid

Declaration

csharp
public event EventHandler<RowEventArgs> GroupCollapsed

Event Data

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

PropertyDescription
RowHandleGets the grid’s row handle.

Remarks

The GroupCollapsed event is raised after a group of data rows has been collapsed from UI or code (CollapseGroupRow. This event serves as a notification and does not allow you to cancel the action. To prevent a group from being collapsed, handle the GroupCollapsing event and set its parameter’s Cancel property to true.

When you call the CollapseAllGroups method, the GroupCollapsed event is raised for each group.

See Also

DataGridView Class

DataGridView Members

DevExpress.Maui.DataGrid Namespace