Back to Devexpress

PivotCalculatedFieldCollection.Clear() Method

officefileapi-devexpress-dot-spreadsheet-dot-pivotcalculatedfieldcollection.md

latest1.7 KB
Original Source

PivotCalculatedFieldCollection.Clear() Method

Removes all calculated fields 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 field from the collection, use the PivotCalculatedFieldCollection.Remove or PivotCalculatedFieldCollection.RemoveAt methods.

To add a calculated field to the PivotTable report, use the PivotCalculatedFieldCollection.Add method.

See Also

Remove(PivotField)

RemoveAt(Int32)

PivotCalculatedFieldCollection Interface

PivotCalculatedFieldCollection Members

DevExpress.Spreadsheet Namespace