Class
GroupComparer

A base class for IGroup comparers.

Definition

Namespace:Telerik.Pivot.Core

Assembly:Telerik.Pivot.Core.dll

Syntax:

cs-api-definition
[DataContract]
public abstract class GroupComparer : SettingsNode, INotifyPropertyChanged, ISupportInitialize, IServiceProvider, IEditable

Inheritance: objectCloneableSettingsNodeGroupComparer

Derived Classes: GrandTotalComparerGroupNameComparerOlapGroupComparer

Implements: IEditableINotifyPropertyChangedIServiceProviderISupportInitialize

Inherited Members SettingsNode.NotifyServicesChanged()SettingsNode.NotifySettingsChanged(SettingsChangedEventArgs)SettingsNode.OnSettingsChanged(SettingsChangedEventArgs)SettingsNode.BeginEdit()SettingsNode.BeginInit()SettingsNode.EndInit()SettingsNode.GetService(Type)SettingsNode.OnPropertyChanged(string)SettingsNode.RemoveSettingsChild(SettingsNode)SettingsNode.AddSettingsChild(SettingsNode)SettingsNode.GetServiceOverride(Type)SettingsNode.OnEnteredEditScope()SettingsNode.OnExitingEditScope()SettingsNode.ParentSettingsNode.SettingsChangedSettingsNode.ServicesChangedSettingsNode.PropertyChangedCloneable.Clone()Cloneable.CreateInstanceCore()Cloneable.CloneCore(Cloneable)

Constructors

GroupComparer()

Declaration

cs-api-definition
protected GroupComparer()

Methods

CompareGroups(IAggregateResultProvider, IGroup, IGroup, PivotAxis)

Compares two IGroups based on the current aggregate results.

Declaration

cs-api-definition
public abstract int CompareGroups(IAggregateResultProvider results, IGroup left, IGroup right, PivotAxis axis)

Parameters

results

IAggregateResultProvider

The current aggregate results.

left

IGroup

The first IGroup to compare.

right

IGroup

The second IGroup to compare.

axis

PivotAxis

Identifies if the groups are in Rows or Columns.

Returns

int

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.