Skip to main content

PivotFileDataSource(ICustomObjectConverter) Constructor

Initializes a new instance of the PivotFileDataSource class.

Namespace: DevExpress.Data.PivotGrid

Assembly: DevExpress.PivotGrid.v23.1.Core.dll

NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Dashboard.Design


public PivotFileDataSource(
    ICustomObjectConverter customObjectConverter


Name Type Description
customObjectConverter ICustomObjectConverter

An object that implements the ICustomObjectConverter interface, which is a custom serializer.


This overload of the constructor creates an empty data source. Use other overloads to initialize the PivotFileDataSource instance with pivot grid data, loaded from a file or stream.

If some of the data source field values are custom objects (not numeric or string values), use the customObjectConverter parameter to specify a serializer to be used to process them. It must be equal (i.e. be able to process objects of the same types in the same way) to the serializer used to save the data source to the file or stream (the one stored in the PivotGridOptionsData.CustomObjectConverter property when the data source was saved).

See Also