Back to Devexpress

PivotGridCustomTotalCollection.Add(FieldSummaryType) Method

wpf-devexpress-dot-xpf-dot-pivotgrid-dot-pivotgridcustomtotalcollection-dot-add-x28-devexpress-dot-xpf-dot-pivotgrid-dot-fieldsummarytype-x29.md

latest1.9 KB
Original Source

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

NuGet Package : DevExpress.Wpf.PivotGrid

Declaration

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

Parameters

NameTypeDescription
summaryTypeFieldSummaryType

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

TypeDescription
PivotGridCustomTotal

A PivotGridCustomTotal object which represents the created custom total.

|

See Also

PivotGridCustomTotalCollection Class

PivotGridCustomTotalCollection Members

DevExpress.Xpf.PivotGrid Namespace