Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+
Row

PivotDataFieldCollection Interface

Represents a collection of fields located in the data area of a PivotTable report.

Namespace: DevExpress.Spreadsheet

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

Declaration

public interface PivotDataFieldCollection :
    ISimpleCollection<PivotDataField>,
    IEnumerable<PivotDataField>,
    IEnumerable,
    ICollection

Remarks

The PivotDataFieldCollection object stores all data fields added to a PivotTable report. Use the PivotTable.DataFields property to access this collection. The PivotDataFieldCollection.Item property enables you to get an individual data field by its name or index in the collection.

To add a data field to the pivot table, use the PivotDataFieldCollection.Add or PivotDataFieldCollection.Insert method. To remove a data field from the PivotTable report, use the PivotDataFieldCollection.Remove or PivotDataFieldCollection.RemoveAt method.

See Also