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)
The first object to compare.
yTThe second object to compare.
Returns:Value
Condition
Less than zero
x is less than y.
Zero
x equals y.
Greater than zero
x is greater than y.