Skip to main content

PivotGridCustomTotalCollectionBase.Add(PivotSummaryType) Method

Appends a new item to the collection that represents a custom total of the specified summary function type.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.PivotGrid.v22.2.Core.dll

NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Dashboard.Design


public PivotGridCustomTotalBase Add(
    PivotSummaryType summaryType


Name Type Description
summaryType PivotSummaryType

A PivotSummaryType value that determines the type of the summary function used to calculate the current total. This value is assigned to the PivotGridCustomTotalBase.SummaryType property.


Type Description

A PivotGridCustomTotalBase object which represents the created custom total.

See Also