Class GridColumnSetDescriptorNameComparer
Represents the IComparer implementation that compares the Name of two GridColumnSetDescriptor objects.
Inheritance
System.Object
GridColumnSetDescriptorNameComparer
Implements
System.Collections.IComparer
Namespace: Syncfusion.Windows.Forms.Grid.Grouping
Assembly: Syncfusion.Grid.Grouping.Windows.dll
Syntax
public class GridColumnSetDescriptorNameComparer : Object, 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