Xceed DataGrid for WPF v7.2 Documentation
MaxDistinctValues Property


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > DataGridItemPropertyBase Class : MaxDistinctValues Property
Gets or sets a value indicating the maximum number of distinct values to calculate.
Syntax
'Declaration
 
Public Property MaxDistinctValues As Integer
'Usage
 
Dim instance As DataGridItemPropertyBase

Dim value As Integer

 

instance.MaxDistinctValues = value

 

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

Property Value

A value representing the maximum number of distinct values to calculate. By default, all distinct values will be included. By default, -1, indicating that all distinct values are included.
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

DataGridItemPropertyBase Class
DataGridItemPropertyBase Members