Back to Devexpress

PivotFilterCollection.Clear() Method

officefileapi-devexpress-dot-spreadsheet-dot-pivotfiltercollection.md

latest1.8 KB
Original Source

PivotFilterCollection.Clear() Method

Removes all pivot filters 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 filter from the collection, use the PivotFilterCollection.Remove or PivotFilterCollection.RemoveAt methods. You can also get access to the pivot filter you wish to delete by its index in the PivotFilterCollection collection, and then call the PivotFilter.Delete method.

See Also

Remove(PivotFilter)

RemoveAt(Int32)

Delete()

PivotFilterCollection Interface

PivotFilterCollection Members

DevExpress.Spreadsheet Namespace