DataGrid.

CollapseRowGroup(DataGridCollectionViewGroup, bool) Method

Summary

Collapses the DataGridRowGroupHeader that represents a given CollectionViewGroup
Namespace
Avalonia.Controls
Containing Type
DataGrid

Syntax

public void CollapseRowGroup(DataGridCollectionViewGroup collectionViewGroup, bool collapseAllSubgroups)

Parameters

Name Type Description
collectionViewGroup DataGridCollectionViewGroup CollectionViewGroup
collapseAllSubgroups bool Set to true to collapse all Subgroups

Return Value

Type Description
void