Class GridFormulaEngine.LenComparer
Used by AdjustNameRangesForSize to create an ArrayList ordered by string length.
Inheritance
System.Object
GridFormulaEngine.LenComparer
Implements
System.Collections.IComparer
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Forms.Grid
Assembly: Syncfusion.Grid.Windows.dll
Syntax
public class LenComparer : IComparer
Constructors
LenComparer()
Used internally. Initializes a new instance of the GridFormulaEngine.LenComparer class.
Declaration
public LenComparer()
Methods
Compare(Object, Object)
Compares 2 strings based on their length.
Declaration
public int Compare(object x, object y)
Parameters
Type | Name | Description |
---|---|---|
System.Object | x | First string to compare. |
System.Object | y | Second string to compare. |
Returns
Type | Description |
---|---|
System.Int32 | Zero if both are equal; positive value if second string is greater; negative value if first string is greater. |
Implements
System.Collections.IComparer