Back to Devexpress

PivotPageFieldCollection.Clear() Method

officefileapi-devexpress-dot-spreadsheet-dot-pivotpagefieldcollection.md

latest1.6 KB
Original Source

PivotPageFieldCollection.Clear() Method

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

To add a page field to the PivotTable report, use the PivotPageFieldCollection.Add method.

See Also

Remove(PivotPageField)

RemoveAt(Int32)

PivotPageFieldCollection Interface

PivotPageFieldCollection Members

DevExpress.Spreadsheet Namespace