Skip to main content
Row

PivotCalculatedItemCollection Interface

Represents a collection of calculated items in a PivotTable field.

Namespace: DevExpress.Spreadsheet

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

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

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

The following members return PivotCalculatedItemCollection objects:

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