Skip to main content

PivotGridControl.GetFieldByArea(PivotArea, Int32) Method

Returns a field at the specified visual position in the specified area.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v24.1.dll

NuGet Package: DevExpress.Win.PivotGrid


public PivotGridField GetFieldByArea(
    PivotArea area,
    int areaIndex


Name Type Description
area PivotArea

A PivotArea value that identifies the area containing the required field.

areaIndex Int32

An integer value that specifies the visible index of the field within the specified area.


Type Description

A PivotGridField object at the specified visual position within the specified area.


Hidden fields cannot be addressed by the GetFieldByArea method.

To return the list of fields in a specific area, use the PivotGridControl.GetFieldsByArea method.

See Also