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


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

Gets a value indicating the maximum number of sort levels that can be created.
Syntax
'Declaration
 
Public ReadOnly Property MaxSortLevels As Integer
'Usage
 
Dim instance As DataGridContext

Dim value As Integer

 

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

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

DataGridContext Class
DataGridContext Members