Back to Devexpress

PivotGridCustomTotalCollection.Add(PivotSummaryType) Method

windowsforms-devexpress-dot-xtrapivotgrid-dot-pivotgridcustomtotalcollection-dot-add-x28-devexpress-dot-data-dot-pivotgrid-dot-pivotsummarytype-x29.md

latest2.0 KB
Original Source

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

NuGet Package : DevExpress.Win.PivotGrid

Declaration

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

Parameters

NameTypeDescription
summaryTypePivotSummaryType

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

TypeDescription
PivotGridCustomTotal

A PivotGridCustomTotal object which represents the created custom total.

|

See Also

PivotGridCustomTotalCollection Class

PivotGridCustomTotalCollection Members

DevExpress.XtraPivotGrid Namespace