Skip to main content

PivotCustomFieldValueCellsEventArgsBase.GetLevelCount(Boolean) Method

Returns the number of column or row levels.

Namespace: DevExpress.XtraPivotGrid.Data

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

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


public int GetLevelCount(
    bool isColumn


Name Type Description
isColumn Boolean

true to return the number of column levels; false to return the number of row levels.


Type Description

An integer value that specifies the number of column or row levels.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GetLevelCount(Boolean) 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