Xceed Toolkit Plus for WPF v4.6 Documentation
DistinctValuesSortComparer Property


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > DataGridItemPropertyBase Class : DistinctValuesSortComparer Property
Gets or sets the IComparer that is used to sort the item property's distinct values.
Syntax
'Declaration
 
Public Property DistinctValuesSortComparer As IComparer
'Usage
 
Dim instance As DataGridItemPropertyBase
Dim value As IComparer
 
instance.DistinctValuesSortComparer = value
 
value = instance.DistinctValuesSortComparer
public IComparer DistinctValuesSortComparer {get; set;}

Property Value

The IComparer that is used to sort the item property's distinct values.
Remarks
If a null reference (Nothing in Visual Basic) the custom sort comparer specified by the SortComparer will be used. If none is provided, the distinct values will be sorted according to their hash code.
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