Skip to main content
Row

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

PivotCalculatedItemCollection Interface

Represents a collection of calculated items in a PivotTable field.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v24.2.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