Back to Devexpress

PivotGridFieldOptions.ShowCustomTotals Property

corelibraries-devexpress-dot-xtrapivotgrid-dot-pivotgridfieldoptions-ec3845f0.md

latest3.0 KB
Original Source

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

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

Declaration

csharp
[DefaultValue(true)]
public bool ShowCustomTotals { get; set; }
vb
<DefaultValue(True)>
Public Property ShowCustomTotals As Boolean

Property Value

TypeDefaultDescription
Booleantrue

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

|

Property Paths

You can access this nested property as listed below:

Object TypePath 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

CustomTotals

TotalsVisibility

PivotGridFieldOptions Class

PivotGridFieldOptions Members

DevExpress.XtraPivotGrid Namespace