Click or drag to resize
GroupNameComparerCompareGroups Method
Compares two IGroups based on their Names.

Namespace: Telerik.Pivot.Core
Assembly: Telerik.Pivot.Core (in Telerik.Pivot.Core.dll) Version: 2017.3.1018.40 (2017.3.1018.40)
Syntax
public override int CompareGroups(
	IAggregateResultProvider results,
	IGroup left,
	IGroup right,
	PivotAxis axis
)

Parameters

results
Type: Telerik.Pivot.CoreIAggregateResultProvider
The current aggregate results.
left
Type: Telerik.Pivot.CoreIGroup
The first IGroup to compare.
right
Type: Telerik.Pivot.CoreIGroup
The second IGroup to compare.
axis
Type: Telerik.Pivot.CorePivotAxis
Identifies if the groups are in Rows or Columns.

Return Value

Type: Int32
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.

See Also