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.v20.2.dll

Declaration

public PivotGridCustomTotal Add(
    PivotSummaryType summaryType
)
Public Function Add(
    summaryType As PivotSummaryType
) As PivotGridCustomTotal

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