Xceed SmartUI for WinForms v3.6 Documentation
Xceed.SmartUI.v3.6 Assembly / Xceed.SmartUI Namespace / SmartItemCollection Class / Comparer Property


In This Topic
    Comparer Property
    In This Topic
    Gets or sets the comparer to use for the collection.
    Syntax
    'Declaration
     
    Public Property Comparer As IComparer
    'Usage
     
    Dim instance As SmartItemCollection
    Dim value As IComparer
     
    instance.Comparer = value
     
    value = instance.Comparer
    public IComparer Comparer {get; set;}

    Property Value

    A reference to an object that implements the System.Collections.IComparer interface.
    Remarks

    The comparer is only used when the Sorted property is set to true.

    Requirements

    Target Platforms: 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