Class ValueComparer
ValueComparer is used to sort the values based on the value type of the cells.
Inheritance
System.Object
ValueComparer
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 ValueComparer : IComparer
Constructors
ValueComparer()
Declaration
public ValueComparer()
Methods
Compare(Object, Object)
compare the value for the sorting
Declaration
public int Compare(object x, object y)
Parameters
Type | Name | Description |
---|---|---|
System.Object | x | first object |
System.Object | y | second object |
Returns
Type | Description |
---|---|
System.Int32 | Returns the position. |
Implements
System.Collections.IComparer