Skip to main content

PivotGridOptionsDataField(PivotGridData, EventHandler, IViewBagOwner, String) Constructor

Initializes a new instance of the PivotGridOptionsDataField class with the specified settings.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.PivotGrid.v24.2.Core.dll

NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Navigation

#Declaration

public PivotGridOptionsDataField(
    PivotGridData data,
    EventHandler optionsChanged,
    IViewBagOwner owner,
    string objectPath
)

#Parameters

Name Type Description
data DevExpress.XtraPivotGrid.Data.PivotGridData

A PivotGridData object which contains information required to initialize the created PivotGridOptionsDataField object.

optionsChanged EventHandler

A method that will handle the PivotGridOptionsBase.OptionsChanged event.

owner DevExpress.WebUtils.IViewBagOwner

An IViewBagOwner object used to initialize the created object.

objectPath String

A string value used to initialize the created object.

#Remarks

Instances of the PivotGridOptionsDataField class are automatically created and initialized. Typically, there is no need to call this constructor directly from your code.

See Also