Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+
Row

PivotCalculatedFieldCollection Interface

A collection of calculated fields in a PivotTable report.

Namespace: DevExpress.Spreadsheet

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

Declaration

public interface PivotCalculatedFieldCollection :
    ISimpleCollection<PivotField>,
    IEnumerable<PivotField>,
    IEnumerable,
    ICollection

Remarks

Use the PivotTable.CalculatedFields property to get access to the PivotCalculatedFieldCollection collection. An individual calculated field is represented by the PivotField object, which can be accessed by its name or index in the collection using the PivotCalculatedFieldCollection.Item property.

To add a calculated field to the pivot table, use the PivotCalculatedFieldCollection.Add method. To remove a calculated field from the PivotTable report, use the PivotCalculatedFieldCollection.Remove or PivotCalculatedFieldCollection.RemoveAt method.

See Also