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

Declaration

public int GetLevelCount(
    bool isColumn
)

Parameters

Name Type Description
isColumn Boolean

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

Returns

Type Description
Int32

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.

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