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

Represents a data row comparer for a self-reference grid.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

C#
public class GridViewSelfReferenceComparer

Inheritance: objectGridViewSelfReferenceComparer

Constructors

Initializes a new instance of the GridViewSelfReferenceComparer class.

C#
public GridViewSelfReferenceComparer(GridViewRelation relation)
Parameters:relationGridViewRelation

The relation.

Properties

Gets a value indicating whether this instance is valid.

C#
public bool IsValid { get; }
Property Value:

true if this instance is valid; otherwise, false.

Methods

Compares the specified x and y row.

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

The x.

yGridViewRowInfo

The y.

Returns:

int

Resets this instance.

C#
public void Reset()