Skip to main content

PivotGridControl.GetFieldCountByArea(FieldArea) Method

Returns the number of visible fields located within the specified area.

Namespace: DevExpress.Xpf.PivotGrid

Assembly: DevExpress.Xpf.PivotGrid.v14.2.dll

#Declaration

public int GetFieldCountByArea(
    FieldArea area
)

#Parameters

Name Type Description
area FieldArea

A FieldArea enumeration value that specifies the header area.

#Returns

Type Description
Int32

An integer value that specifies the number of visible fields located within the specified area.

#Remarks

The field's location is specified by its PivotGridField.Area property. The position within the area is specified by the PivotGridField.AreaIndex property.

See Also