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

XRPivotGrid.GetFieldByArea(PivotArea, Int32) Method

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

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v24.2.dll

NuGet Package: DevExpress.Reporting.Core

#Declaration

public PivotGridFieldBase GetFieldByArea(
    PivotArea area,
    int areaIndex
)

#Parameters

Name Type Description
area PivotArea

A PivotArea object 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.

#Returns

Type Description
PivotGridFieldBase

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

#Remarks

Hidden fields cannot be addressed by the GetFieldByArea method.

See Also