Skip to main content
A newer version of this page is available. .

PivotGridFieldCollectionBase.GetVisibleFieldCount(PivotArea) Method

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

Namespace: DevExpress.XtraPivotGrid

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

Declaration

public 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.

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

Note

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