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

PivotGridControl.IsObjectCollapsed(Boolean, Int32, Int32) Method

Returns whether the specified column field value or row field value is collapsed.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v20.1.dll

NuGet Package: DevExpress.Win.PivotGrid

Declaration

public bool IsObjectCollapsed(
    bool isColumn,
    int lastLevelIndex,
    int level
)

Parameters

Name Type Description
isColumn Boolean

true if the field value corresponds to a column field; false if the field value corresponds to a row field.

lastLevelIndex Int32

A zero-based index of a cell that identifies the required field value. Indices are numbered starting from the left for column fields, and from the top for row fields.

level Int32

An integer value that specifies the nesting level of the field value.

Returns

Type Description
Boolean

true if the specified column field value or row field value is collapsed; otherwise, false.

See Also