Xceed DataGrid for WPF v7.2 Documentation
MaxSortLevels Property (DefaultDetailConfiguration)


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > DefaultDetailConfiguration Class : MaxSortLevels Property

Gets or sets a value indicating the maximum number of sort levels that can be created.

Syntax
'Declaration
 
Public Property MaxSortLevels As Integer
'Usage
 
Dim instance As DefaultDetailConfiguration

Dim value As Integer

 

instance.MaxSortLevels = value

 

value = instance.MaxSortLevels
public int MaxSortLevels {get; set;}

Property Value

A value indicating the maximum number of sort levels that can be created. If set to zero, sorting is disabled. If set to -1, an un limited number of sort levels can be created. Any other value represents the maximum number of sort 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

DefaultDetailConfiguration Class
DefaultDetailConfiguration Members