Skip to main content

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.v24.1.dll

NuGet Package: DevExpress.Wpf.PivotGrid

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