PivotGridFieldCollectionBase.GetVisibleFieldCount(PivotArea) Method
Returns the number of visible fields displayed within the specified area.
Namespace: DevExpress.XtraPivotGrid
Assembly: DevExpress.PivotGrid.v24.1.Core.dll
NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Navigation
Declaration
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.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference 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.