GroupComparer
Class
A base class for IGroup comparers.
Definition
Namespace:Telerik.Pivot.Core
Assembly:Telerik.WinControls.PivotGrid.dll
Syntax:
C#
[DataContract]
public abstract class GroupComparer : SettingsNode, INotifyPropertyChanged, ISupportInitialize, IServiceProvider, IEditable
Inheritance: objectCloneableSettingsNodeGroupComparer
Derived Classes:
Implements:
Inherited Members
Constructors
C#
protected GroupComparer()
Methods
Compares two IGroups based on the current aggregate results.
C#
public abstract int CompareGroups(IAggregateResultProvider results, IGroup left, IGroup right, PivotAxis axis)
The current aggregate results.
leftIGroupThe first IGroup to compare.
rightIGroupThe second IGroup to compare.
axisPivotAxisReturns:A signed integer that indicates the relative values of x and y, as shown in the following table.
Value Meaning Less than zero x is less than y.
Zero x equals y.
Greater than zero x is greater than y.