Skip to main content

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.v24.1.Core.dll

NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Navigation

Declaration

[TypeConverter(typeof(BooleanTypeConverter))]
[XtraSerializableProperty]
public bool ShowCustomTotals { get; set; }

Property Value

Type Description
Boolean

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

Property Paths

You can access this nested property as listed below:

Object Type Path to ShowCustomTotals
PivotGridFieldBase
.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