Back to Devexpress

PivotGridControl.IsFieldValueCollapsed(Boolean, Object[]) Method

wpf-devexpress-dot-xpf-dot-pivotgrid-dot-pivotgridcontrol-dot-isfieldvaluecollapsed-x28-system-dot-boolean-system-dot-object-x29.md

latest2.4 KB
Original Source

PivotGridControl.IsFieldValueCollapsed(Boolean, Object[]) Method

Indicates whether the specified field value is collapsed.

Namespace : DevExpress.Xpf.PivotGrid

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

NuGet Package : DevExpress.Wpf.PivotGrid

Declaration

csharp
public bool IsFieldValueCollapsed(
    bool isColumn,
    params object[] values
)
vb
Public Function IsFieldValueCollapsed(
    isColumn As Boolean,
    ParamArray values As Object()
) As Boolean

Parameters

NameTypeDescription
isColumnBoolean

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

TypeDescription
Boolean

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

|

Remarks

Consider the following PivotGridControl:

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

Field ValueMethod UsageReturn Value
1994, Aniseed SyruppivotGrid.IsFieldValueCollapsed(true, "Aniseed Syrup", 1994);false
1995, Aniseed SyruppivotGrid.IsFieldValueCollapsed(true, "Aniseed Syrup", 1995);true

See Also

PivotGridControl Class

PivotGridControl Members

DevExpress.Xpf.PivotGrid Namespace