Back to Devexpress

PivotCellBaseEventArgs.GetGrandTotal(PivotGridField) Method

wpf-devexpress-dot-xpf-dot-pivotgrid-dot-pivotcellbaseeventargs-dot-getgrandtotal-x28-devexpress-dot-xpf-dot-pivotgrid-dot-pivotgridfield-x29.md

latest2.0 KB
Original Source

PivotCellBaseEventArgs.GetGrandTotal(PivotGridField) Method

Gets the Grand Total for the specified field.

Namespace : DevExpress.Xpf.PivotGrid

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

NuGet Package : DevExpress.Wpf.PivotGrid

Declaration

csharp
public object GetGrandTotal(
    PivotGridField dataField
)
vb
Public Function GetGrandTotal(
    dataField As PivotGridField
) As Object

Parameters

NameTypeDescription
dataFieldPivotGridField

A PivotGridField object which represents the field whose Grand Total is returned.

|

Returns

TypeDescription
Object

An object which represents the Grand Total.

|

Remarks

Grand Totals are located where the Row Grand Totals and Column Grand Totals cross as shown in the image below:

See Also

GetRowGrandTotal

GetColumnGrandTotal

PivotCellBaseEventArgs Class

PivotCellBaseEventArgs Members

DevExpress.Xpf.PivotGrid Namespace