Skip to main content
A newer version of this page is available. .

PivotGridCustomTotalCollection.Add(FieldSummaryType) Method

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

Namespace: DevExpress.Xpf.PivotGrid

Assembly: DevExpress.Xpf.PivotGrid.v18.2.dll

Declaration

public PivotGridCustomTotal Add(
    FieldSummaryType summaryType
)

Parameters

Name Type Description
summaryType FieldSummaryType

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

Returns

Type Description
PivotGridCustomTotal

A PivotGridCustomTotal object which represents the created custom total.

See Also