Xceed DataGrid for WPF v7.3 Documentation
Xceed.Wpf.DataGrid Assembly / Xceed.Wpf.DataGrid Namespace / DataGridItemPropertyBase Class / DistinctValuesEqualityComparer Property


In This Topic
    DistinctValuesEqualityComparer Property
    In This Topic
    Gets or sets the IEqualityComparer that is used to compare the equality of the item property's distinct values.
    Syntax
    'Declaration
     
    Public Property DistinctValuesEqualityComparer As IEqualityComparer
    'Usage
     
    Dim instance As DataGridItemPropertyBase
    Dim value As IEqualityComparer
     
    instance.DistinctValuesEqualityComparer = value
     
    value = instance.DistinctValuesEqualityComparer
    public IEqualityComparer DistinctValuesEqualityComparer {get; set;}

    Property Value

    The IEqualityComparer that is used to compare the equality of the item property's distinct values.
    Remarks
    If a null reference (Nothing in Visual Basic), the distinct values will be compared with 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