Syncfusion.SfDataGrid.XForms
Example 
Syncfusion.SfDataGrid.XForms Namespace > SfDataGrid Class : AllowGroupExpandCollapse Property

AllowGroupExpandCollapse Property (SfDataGrid)

Gets or sets a value indicating whether to allow expanding and collapsing of groups in SfDataGrid. By default, the groups will be in expanded state in SfDataGrid, when grouped. However, the user can expand or collapse a group in runtime by enabling this property.
Syntax
public bool AllowGroupExpandCollapse {get; set;}

Property Value

True if expand and collapse groups is enabled, otherwise false. The default value is false.
Example
this.dataGrid.AllowGroupExpandCollapse = true;
AssemblyVersion

Syncfusion.SfDataGrid.XForms: 17.3451.0.14

See Also