ASPxPivotGrid.GetFieldsByArea(PivotArea) Method

Returns all visible pivot grid fields located at the specified area.

Namespace: DevExpress.Web.ASPxPivotGrid

Assembly: DevExpress.Web.ASPxPivotGrid.v19.2.dll

Declaration

public List<PivotGridField> GetFieldsByArea(
    PivotArea area
)
Public Function GetFieldsByArea(
    area As PivotArea
) As List(Of PivotGridField)

Parameters

Name Type Description
area PivotArea

A PivotArea enumeration value that specifies the area where the required pivot grid fields are displayed.

Returns

Type Description
List<PivotGridField>

The list of visible pivot grid fields located at the specified area.

Remarks

The following example shows how to obtain visible pivot grid fields located within the Column Header Area.

GetFieldByArea_Method


List<PivotGridField> fieldList =
        pivotGrid.GetFieldsByArea(DevExpress.XtraPivotGrid.PivotArea.ColumnArea);

To obtain a pivot grid field located at the specified position within the specified area, use the ASPxPivotGrid.GetFieldByArea method.

See Also