Skip to main content

IThreadSafeFieldCollection.GetVisibleFieldCount(PivotArea) Method

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

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.PivotGrid.v24.2.Core.dll

Declaration

int GetVisibleFieldCount(
    PivotArea area
)

Parameters

Name Type Description
area PivotArea

A PivotArea value that identifies the targeted area.

Returns

Type Description
Int32

An integer value that identifies the number of visible fields displayed within the specified area.

Remarks

This method traverses through the collection and calculates the number of visible fields located within the specified area. A field is visible if its PivotGridFieldBase.Visible property is set to true. A field’s current area is specified by the PivotGridFieldBase.Area property.

See Also