Skip to main content

PivotGridFieldBase.GetSummaryInterval(PivotGridFieldBase, PivotGridFieldBase) Method

Returns information about the distribution of summary values that have been calculated against this field and belong to the specified detail level.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.PivotGrid.v24.1.Core.dll

NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Navigation

Declaration

public PivotSummaryInterval GetSummaryInterval(
    PivotGridFieldBase rowField,
    PivotGridFieldBase columnField
)

Parameters

Name Type Description
rowField PivotGridFieldBase

A PivotGridFieldBase object that specifies a row field used to identify the detail level.

columnField PivotGridFieldBase

A PivotGridFieldBase object that specifies a column field used to identify the detail level.

Returns

Type Description
PivotSummaryInterval

A PivotSummaryInterval object that contains information about the distribution of summary values calculated against this field.

Remarks

Use information returned by the GetSummaryInterval method when filtering pivot grid data by summaries to specify a range of values to be displayed.

The returned PivotSummaryInterval object exposes the minimum and maximum summary values, and information about the distribution of summary values across this range.

PivotSummaryInterval.StartValue

Gets the minimum value in the current range.

PivotSummaryInterval.EndValue

Gets the maximum value in the current range.

PivotSummaryInterval.Distribution

Gets information about the distribution of summary values across the summary values range.

PivotSummaryInterval.DataType

Gets the data type of summary values.

PivotSummaryInterval.IsEmpty

Gets whether the current range contains no summary values.

See Also