Skip to main content

PivotGridFieldBase(String, PivotArea) Constructor

Initializes a new instance of the PivotGridFieldBase class with the specified field name and location.

Namespace: DevExpress.XtraPivotGrid

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

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

#Declaration

public PivotGridFieldBase(
    string fieldName,
    PivotArea area
)

#Parameters

Name Type Description
fieldName String

A string identifying the name of the database field. This value is assigned to the PivotGridFieldBase.FieldName property.

area PivotArea

A PivotArea value that defines the location for the PivotGridFieldBase object within the control. This value is assigned to the PivotGridFieldBase.Area property.

#Remarks

This constructor initializes the PivotGridFieldBase.FieldName and PivotGridFieldBase.Area properties with the specified values. All the other properties of the created PivotGridFieldBase object are set to default values.

See Also