PivotDefaultComparer
Class
Compares PivotGrid values using numeric precision when possible and IComparable semantics otherwise.
Definition
Namespace:Telerik.Pivot.Core
Assembly:Telerik.WinControls.PivotGrid.dll
Syntax:
C#
public class PivotDefaultComparer : IComparer
Inheritance: objectPivotDefaultComparer
Implements:
Constructors
C#
public PivotDefaultComparer()
Methods
Attempts numeric and IComparable comparison, using string representations if a comparison throws.
C#
public int Compare(object x, object y)
The first value to compare.
yobjectThe second value to compare.
Returns:A negative value if x sorts before y, a positive value if it sorts after,
or zero if the values compare equal. An AggregateError compares as equal to any non-null value.
Implements: