New to Telerik UI for WinFormsStart a free 30-day trial

A base class for IGroup comparers.

Definition

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)
Parameters:resultsIAggregateResultProvider

The current aggregate results.

leftIGroup

The first IGroup to compare.

rightIGroup

The second IGroup to compare.

axisPivotAxis

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.