LenComparer Class
Inheritance
System.Object
LenComparer
Implements
System.Collections.IComparer
Namespace: Syncfusion.Windows.Forms.CellGrid
Assembly: Syncfusion.Spreadsheet.Windows.dll
Syntax
public class LenComparer : Object, IComparer
Constructors
LenComparer()
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 | String 1. |
| System.Object | y | String 2. |
Returns
| Type |
|---|
| System.Int32 |
Implements
System.Collections.IComparer