PivotGridFieldCollectionBase.GetVisibleFieldCount(PivotArea) Method

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

Namespace: DevExpress.XtraPivotGrid

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

Declaration

public int GetVisibleFieldCount(
    PivotArea area
)
Public Function GetVisibleFieldCount(
    area As PivotArea
) As Integer

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