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.v20.1.Core.dll

Declaration

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

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
PivotGridCustomTotalBase

A PivotGridCustomTotalBase object which represents the created custom total.

See Also