The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+
Row

PivotField.CalculatedItems Property

Provides access to the collection of calculated items added to the PivotTable field.

Namespace: DevExpress.Spreadsheet

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

Declaration

PivotCalculatedItemCollection CalculatedItems { get; }
ReadOnly Property CalculatedItems As PivotCalculatedItemCollection
PivotCalculatedItemCollection CalculatedItems { get; }
ReadOnly Property CalculatedItems As PivotCalculatedItemCollection
PivotCalculatedItemCollection CalculatedItems { get; }
ReadOnly Property CalculatedItems As PivotCalculatedItemCollection

Property Value

Type Description
PivotCalculatedItemCollection

A PivotCalculatedItemCollection object specifying the PivotField's collection of calculated items.

Property Value

Type Description
PivotCalculatedItemCollection

A PivotCalculatedItemCollection object specifying the PivotField's collection of calculated items.

Property Value

Type Description
PivotCalculatedItemCollection

A PivotCalculatedItemCollection object specifying the PivotField's collection of calculated items.

Remarks

Use the CalculatedItems property to get access to the collection that stores all calculated items added to a PivotTable field. An individual calculated item can be accessed by its index in the collection.

To add a calculated item to a pivot field, use the PivotCalculatedItemCollection.Add method.

To remove a calculated item from the PivotTable field, use the PivotCalculatedItemCollection.Remove or PivotCalculatedItemCollection.RemoveAt method. You can also use the PivotCalculatedItemCollection.Clear method to remove all calculated items from the collection at once.

For more information on how to insert and modify calculated items, refer to the How to: Create a Calculated Item example.

See Also