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

A decenting comparer.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.ChartView.dll

Type Parameters:

T

Syntax:

C#
public class PieTwoLabelColumnsStrategy.DescendingComparer<T> where T : IComparable<T>

Inheritance: objectPieTwoLabelColumnsStrategy.DescendingComparer<T>

Constructors

C#
public DescendingComparer()

Methods

Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.

C#
public int Compare(T x, T y)
Parameters:xT

The first object to compare.

yT

The second object to compare.

Returns:

int

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