Skip to main content
A newer version of this page is available. .

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.v19.1.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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the PivotGridField(String, PivotArea) constructor.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also