Skip to main content

PivotGridField(String, PivotArea) Constructor

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

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v24.2.dll

Declaration

public PivotGridField(
    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 PivotGridField 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 PivotGridField object are set to default values.

See Also