Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

NuGet Package: DevExpress.Win.PivotGrid

#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