Skip to main content

PivotGridCustomTotalCollection.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.XtraPivotGrid.v23.2.dll

NuGet Package: DevExpress.Win.PivotGrid

Declaration

public PivotGridCustomTotal Add(
    PivotSummaryType summaryType
)

Parameters

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.

Returns

Type Description
PivotGridCustomTotal

A PivotGridCustomTotal object which represents the created custom total.

See Also