Xceed DataGrid for WPF v7.2 Documentation
MaxGroupLevels Property (DataGridControl)


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > DataGridControl Class : MaxGroupLevels Property
Gets or sets a value indicating the maximum number of group levels that can be created.
Syntax
'Declaration
 
Public Property MaxGroupLevels As Integer
'Usage
 
Dim instance As DataGridControl
Dim value As Integer
 
instance.MaxGroupLevels = value
 
value = instance.MaxGroupLevels
public int MaxGroupLevels {get; set;}

Property Value

A value indicating the maximum number of group levels that can be created. If set to zero, grouping is disabled. If set to -1, an un limited number of groups can be created. Any other value represents the maximum number of group levels that can be created.
Requirements

Target Platforms: Windows 11, Windows, 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DataGridControl Class
DataGridControl Members