Class
ControlPointComparer

Comparer for the ControlPoint class.

Definition

Namespace:Telerik.Windows.Controls.Carousel

Assembly:Telerik.Windows.Controls.Navigation.dll

Syntax:

cs-api-definition
public class ControlPointComparer : IComparer<ControlPoint>

Inheritance: objectControlPointComparer

Implements: IComparer<ControlPoint>

Constructors

Declaration

cs-api-definition
public ControlPointComparer()

Methods

Compares two ControlPoints.

Declaration

cs-api-definition
public int Compare(ControlPoint x, ControlPoint y)

Parameters

x

ControlPoint

First ControlPoint

y

ControlPoint

Second ControlPoint

Returns

int

Less than zero - x is less than y. Zero - x equals y. Greater than zero - x is greater than y.

Implements IComparer<ControlPoint>.Compare(ControlPoint, ControlPoint)