Back to Devexpress

PivotGridControl.IsFieldValueCollapsed(PivotGridField, Int32) Method

wpf-devexpress-dot-xpf-dot-pivotgrid-dot-pivotgridcontrol-dot-isfieldvaluecollapsed-x28-devexpress-dot-xpf-dot-pivotgrid-dot-pivotgridfield-system-dot-int32-x29.md

latest1.9 KB
Original Source

PivotGridControl.IsFieldValueCollapsed(PivotGridField, Int32) Method

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

Namespace : DevExpress.Xpf.PivotGrid

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

NuGet Package : DevExpress.Wpf.PivotGrid

Declaration

csharp
public bool IsFieldValueCollapsed(
    PivotGridField field,
    int lastLevelIndex
)
vb
Public Function IsFieldValueCollapsed(
    field As PivotGridField,
    lastLevelIndex As Integer
) As Boolean

Parameters

NameTypeDescription
fieldPivotGridField

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

TypeDescription
Boolean

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

|

See Also

PivotGridControl Class

PivotGridControl Members

DevExpress.Xpf.PivotGrid Namespace