Class GridColumnDescriptorNameComparer
Represents a call that implements with an IComparer implementation to compare the Name of two GridColumnDescriptor objects.
Inheritance
System.Object
GridColumnDescriptorNameComparer
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.Grouping
Assembly: Syncfusion.Grid.Grouping.Windows.dll
Syntax
public class GridColumnDescriptorNameComparer : IComparer
Constructors
GridColumnDescriptorNameComparer()
Initializes a new instance of the GridColumnDescriptorNameComparer class.
Declaration
public GridColumnDescriptorNameComparer()
Methods
Compare(Object, Object)
Compares two GridColumnDescriptor objects.
Declaration
public int Compare(object x, object y)
Parameters
Type | Name | Description |
---|---|---|
System.Object | x | The first GridColumnDescriptor. |
System.Object | y | The second GridColumnDescriptor. |
Returns
Type | Description |
---|---|
System.Int32 | The result of string.Compare for the Name of the two GridColumnDescriptor objects; 0 if both are the same. |
Implements
System.Collections.IComparer