Skip to main content
A newer version of this page is available. .

PivotGridFieldOptions.ShowCustomTotals Property

Gets or sets whether Custom Totals that correspond to the current Column Field or Row Field are visible.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.PivotGrid.v19.1.Core.dll

Declaration

[DefaultValue(true)]
[XtraSerializableProperty]
public bool ShowCustomTotals { get; set; }

Property Value

Type Default Description
Boolean **true**

true if corresponding custom totals are visible; otherwise, false.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to ShowCustomTotals
Cross-Platform Class Library PivotGridFieldBase
.Options.ShowCustomTotals
WinForms Controls PivotGridField
.Options.ShowCustomTotals
Reporting XRPivotGridField
.Options.ShowCustomTotals
ASP.NET Web Forms Controls PivotGridField
.Options.ShowCustomTotals
MVCxPivotGridField
.Options.ShowCustomTotals

Remarks

Use the PivotGridField.CustomTotals collection to create custom totals for a specific Column Field or Row Field. To display custom totals, set the PivotGridFieldBase.TotalsVisibility property to PivotTotalsVisibility.CustomTotals. If custom totals are visible, you can temporarily hide them by setting the ShowCustomTotals option to false.

For information on custom totals, see Totals.

See Also