Back to Devexpress

PivotCalculatedItemCollection.Clear() Method

officefileapi-devexpress-dot-spreadsheet-dot-pivotcalculateditemcollection.md

latest1.7 KB
Original Source

PivotCalculatedItemCollection.Clear() Method

Removes all calculated items from the collection.

Namespace : DevExpress.Spreadsheet

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

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
void Clear()
vb
Sub Clear

Remarks

To remove an individual calculated item from the collection, use the PivotCalculatedItemCollection.Remove or PivotCalculatedItemCollection.RemoveAt methods.

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

See Also

Remove(PivotItem)

RemoveAt(Int32)

PivotCalculatedItemCollection Interface

PivotCalculatedItemCollection Members

DevExpress.Spreadsheet Namespace