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.IsFieldValueCollapsed(PivotGridField, Int32) Method

Indicates whether the specified field value (row or column) is collapsed.

Namespace: DevExpress.Xpf.PivotGrid

Assembly: DevExpress.Xpf.PivotGrid.v24.2.dll

NuGet Package: DevExpress.Wpf.PivotGrid

#Declaration

public bool IsFieldValueCollapsed(
    PivotGridField field,
    int lastLevelIndex
)

#Parameters

Name Type Description
field PivotGridField

A PivotGridField object that represents the row or column 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.

#Returns

Type Description
Boolean

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

See Also