Back to Devexpress

PivotGridFieldBase.GetSummaryInterval(PivotGridFieldBase, PivotGridFieldBase) Method

corelibraries-devexpress-dot-xtrapivotgrid-dot-pivotgridfieldbase-dot-getsummaryinterval-x28-devexpress-dot-xtrapivotgrid-dot-pivotgridfieldbase-devexpress-dot-xtrapivotgrid-dot-pivotgridfieldbase-x29.md

latest4.3 KB
Original Source

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.v25.2.Core.dll

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

Declaration

csharp
public PivotSummaryInterval GetSummaryInterval(
    PivotGridFieldBase rowField,
    PivotGridFieldBase columnField
)
vb
Public Function GetSummaryInterval(
    rowField As PivotGridFieldBase,
    columnField As PivotGridFieldBase
) As PivotSummaryInterval

Parameters

NameTypeDescription
rowFieldPivotGridFieldBase

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

TypeDescription
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

PivotGridFieldBase Class

PivotGridFieldBase Members

DevExpress.XtraPivotGrid Namespace