.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
Row

PivotCalculatedFieldCollection.Clear() Method

Removes all calculated fields from the collection.

Namespace: DevExpress.Spreadsheet

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

Declaration

void Clear()
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