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

PivotCalculatedItemCollection Interface

Represents a collection of calculated items in a PivotTable field.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v20.2.Core.dll

Declaration

public interface PivotCalculatedItemCollection :
    ISimpleCollection<PivotItem>,
    IEnumerable<PivotItem>,
    IEnumerable,
    ICollection

Remarks

Use the PivotField.CalculatedItems property to get access to the PivotCalculatedItemCollection collection. An individual calculated item is represented by the PivotItem object, which can be accessed by its index in the PivotCalculatedItemCollection collection.

To add a calculated item to the PivotTable field, use the PivotCalculatedItemCollection.Add method. To remove a calculated item from the PivotTable field, use the PivotCalculatedItemCollection.Remove or PivotCalculatedItemCollection.RemoveAt method.

See Also