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

Declaration

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

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