Skip to main content

PivotGridFieldCollectionBase.GetVisibleFieldCount(PivotArea) Method

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

Namespace: DevExpress.XtraPivotGrid

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

NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Dashboard.Design


public int GetVisibleFieldCount(
    PivotArea area


Name Type Description
area PivotArea

A PivotArea value that identifies the targeted area.


Type Description

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


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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the GetVisibleFieldCount(PivotArea) method.


The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also