Skip to main content

PivotCustomFieldValueCellsEventArgs.SetGrandTotalLocation(Boolean, GrandTotalLocation) Method

Sets the location of Grand Total columns or rows to the specified value.

Namespace: DevExpress.Xpf.PivotGrid

Assembly: DevExpress.Xpf.PivotGrid.v24.1.dll

NuGet Package: DevExpress.Wpf.PivotGrid


public void SetGrandTotalLocation(
    bool isColumn,
    GrandTotalLocation location


Name Type Description
isColumn Boolean

true to set the location of Grand Total columns; false to set the location of Grand Total rows.

location GrandTotalLocation

A GrandTotalLocation enumeration member that specifies the location of Grand Totals.


To obtain the current location of Grand Totals, use the PivotCustomFieldValueCellsEventArgs.GetGrandTotalLocation method.

See Also