Skip to main content

PivotGridControl.IsFieldValueCollapsed(Boolean, Object[]) Method

Indicates whether the specified field value is collapsed.

Namespace: DevExpress.Xpf.PivotGrid

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

NuGet Package: DevExpress.Wpf.PivotGrid

Declaration

public bool IsFieldValueCollapsed(
    bool isColumn,
    params object[] values
)

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.

values Object[]

An array of column or row field values that identify the field value.

Returns

Type Description
Boolean

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

Remarks

Consider the following PivotGridControl:

pivotgrid_collapsevalue_2

The following table illustrates how to use the IsFieldValueCollapsed method to obtain whether particular field values are collapsed.

Field Value Method Usage Return Value
1994, Aniseed Syrup pivotGrid.IsFieldValueCollapsed(true, "Aniseed Syrup", 1994); false
1995, Aniseed Syrup pivotGrid.IsFieldValueCollapsed(true, "Aniseed Syrup", 1995); true
See Also