Skip to main content

MVCxPivotGridField(String, PivotArea) Constructor

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

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public MVCxPivotGridField(
    string fieldName,
    PivotArea area
)

Parameters

Name Type Description
fieldName String

A String that identifies the name of the database field. This value is assigned to the PivotGridField.FieldName property.

area PivotArea

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

Remarks

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

See Also