Represents a comparer for the grid rows
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
C#
public class GridViewRowInfoComparer
Inheritance: objectGridViewRowInfoComparer
Derived Classes:
Constructors
Initializes a new instance of the GridViewRowInfoComparer class.
C#
public GridViewRowInfoComparer(SortDescriptorCollection context)
The context.
Properties
Gets the sort descriptors context.
C#
public SortDescriptorCollection Context { get; }
The sort descriptors context.
Methods
Compares the specified x and y rows.
C#
public virtual int Compare(GridViewRowInfo x, GridViewRowInfo y)
The x.
yGridViewRowInfoThe y.
Returns:Compares the rows.
C#
public static int CompareRows(GridViewRowInfo x, GridViewRowInfo y, SortDescriptorCollection context)
The x.
yGridViewRowInfoThe y.
contextSortDescriptorCollectionThe context.
Returns: