XRPivotGridField.CustomTotals Property

Gets the collection of custom totals for the current field.

Namespace: DevExpress.XtraReports.UI.PivotGrid

Assembly: DevExpress.XtraReports.v18.2.dll

Declaration

[SRCategory(ReportStringId.CatBehavior)]
public XRPivotGridCustomTotalCollection CustomTotals { get; }
<SRCategory(ReportStringId.CatBehavior)>
Public ReadOnly Property CustomTotals As XRPivotGridCustomTotalCollection

Property Value

Type Description
XRPivotGridCustomTotalCollection

An XRPivotGridCustomTotalCollection object that represents the collection of custom totals.

The XRPivotGrid control lets you calculate automatic or custom totals against data fields. These totals are displayed as an additional column(s) for each value in an outer column field and as an additional row for each value in an outer row field.

The CustomTotals collection contains XRPivotGridCustomTotal objects which represent custom totals for the current field. They are displayed when the field is positioned within the Column Header Area or Row Header Area and only if its PivotGridFieldBase.TotalsVisibility property is set to CustomTotals.

See Also