Back to Devexpress

PivotCustomFieldValueCellsEventArgs.SetGrandTotalLocation(Boolean, GrandTotalLocation) Method

wpf-devexpress-dot-xpf-dot-pivotgrid-dot-pivotcustomfieldvaluecellseventargs-dot-setgrandtotallocation-x28-system-dot-boolean-devexpress-dot-xtrapivotgrid-dot-data-dot-grandtotallocation-x29.md

latest2.5 KB
Original Source

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

NuGet Package : DevExpress.Wpf.PivotGrid

Declaration

csharp
public void SetGrandTotalLocation(
    bool isColumn,
    GrandTotalLocation location
)
vb
Public Sub SetGrandTotalLocation(
    isColumn As Boolean,
    location As GrandTotalLocation
)

Parameters

NameTypeDescription
isColumnBoolean

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.

|

Remarks

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

See Also

GetGrandTotalLocation(Boolean)

PivotCustomFieldValueCellsEventArgs Class

PivotCustomFieldValueCellsEventArgs Members

DevExpress.Xpf.PivotGrid Namespace