PivotGridCustomTotal Class
In This Article
Represents a custom total.
Namespace: DevExpress.Xpf.PivotGrid
Assembly: DevExpress.Xpf.PivotGrid.v14.2.dll
#Declaration
#Returned By
Properties and methods that return PivotGridCustomTotal instances:
#Remarks
Custom totals are stored within a field's PivotGridField.CustomTotals collection. To display custom totals for a column or row field, do the following:
- Set the field's PivotGridField.TotalsVisibility property to FieldTotalsVisibility.CustomTotals;
- Create the required PivotGridCustomTotal objects, and add them to the PivotGridField.CustomTotals collection.
Custom totals (like automatic totals) are calculated for field values which have nested field values. They are not calculated for the values of the innermost column and row fields. If a field is not a column field or row field, custom totals are not calculated for it.
To learn more, see Custom Totals.
#Inheritance
See Also