GrapeCity MultiRow Windows Forms Documentation
Comparer Property (DropDownSortItem)


Gets the comparer which implements the value comparer for sorting.
Syntax
<DefaultValueAttribute()>
<BrowsableAttribute(False)>
Public Property Comparer As IComparer
Dim instance As DropDownSortItem
Dim value As IComparer
 
instance.Comparer = value
 
value = instance.Comparer
[DefaultValue()]
[Browsable(false)]
public IComparer Comparer {get; set;}

Property Value

An System.Collections.IComparer object that implements the value comparer when sorting time. The default is a null reference (Nothing in Visual Basic).
Remarks
The DropDownSortItem uses the default compare logic based on the comparing value type. If you want to customize the logic to compare two System.Object values, implement the System.Collections.IComparer interface and set it to this property.
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

Reference

DropDownSortItem Class
DropDownSortItem Members

 

 


Copyright © GrapeCity, inc. All rights reserved.