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


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

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

DataGridContext Class
DataGridContext Members