Skip to main content

PivotCustomFieldValueCellsEventArgs.GetCell(Boolean, Int32) Method

Returns the field value cell by its index.

Namespace: DevExpress.Xpf.PivotGrid

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

#Declaration

public FieldValueCell GetCell(
    bool isColumn,
    int index
)

#Parameters

Name Type Description
isColumn Boolean

true to obtain the column field value cell; false to obtain the row field value cell.

index Int32

An integer value that specifies the zero-based index of the cell.

#Returns

Type Description
FieldValueCell

A FieldValueCell object that represents the required cell; null if the index is out of bounds.

#Remarks

Field value cells are indexed in the order shown in the image below:

pivotgrid_fieldvaluecellindexes

The field value cell can be also located via the PivotCustomFieldValueCellsEventArgs.FindCell method that returns the cell whose column/row summary values match the specified condition.

See Also