Class GridColumnSetDescriptorNameComparer
Represents the IComparer implementation that compares the Name of two GridColumnSetDescriptor objects.
Inheritance
System.Object
GridColumnSetDescriptorNameComparer
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 GridColumnSetDescriptorNameComparer : IComparer
Constructors
GridColumnSetDescriptorNameComparer()
Initialize new instance of GridColumnSetDescriptorNameComparer class.
Declaration
public GridColumnSetDescriptorNameComparer()
Methods
Compare(Object, Object)
Compares two GridColumnSetDescriptor objects.
Declaration
public int Compare(object x, object y)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | x | The first GridColumnSetDescriptor. |
| System.Object | y | The second GridColumnSetDescriptor. |
Returns
| Type | Description |
|---|---|
| System.Int32 | The result of string.Compare for the Name of the two GridColumnSetDescriptor objects; 0 if both are the same. |
Implements
System.Collections.IComparer