Skip to main content

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.1.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