New to Telerik UI for WinFormsStart a free 30-day trial

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: GridViewRowInfoEventComparer

Constructors

Initializes a new instance of the GridViewRowInfoComparer class.

C#
public GridViewRowInfoComparer(SortDescriptorCollection context)
Parameters:contextSortDescriptorCollection

The context.

Properties

Gets the sort descriptors context.

C#
public SortDescriptorCollection Context { get; }
Property Value:

The sort descriptors context.

Methods

Compares the specified x and y rows.

C#
public virtual int Compare(GridViewRowInfo x, GridViewRowInfo y)
Parameters:xGridViewRowInfo

The x.

yGridViewRowInfo

The y.

Returns:

int

Compares the rows.

C#
public static int CompareRows(GridViewRowInfo x, GridViewRowInfo y, SortDescriptorCollection context)
Parameters:xGridViewRowInfo

The x.

yGridViewRowInfo

The y.

contextSortDescriptorCollection

The context.

Returns:

int

Gets the BLOB data.

C#
public static void GetBlobData(ref object xValue, ref object yValue)
Parameters:xValueobject

The x value.

yValueobject

The y value.