Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.2.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