Skip to main content
A newer version of this page is available. .

PivotCustomDrawCellBaseEventArgs.GetPrevRowCellValue(PivotGridField) Method

Returns the value of the cell located in the previous row of the current column.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v18.2.dll

Declaration

public object GetPrevRowCellValue(
    PivotGridField dataField
)

Parameters

Name Type Description
dataField PivotGridField

A PivotGridField object that specifies the data field against which the required cell value is calculated.

Returns

Type Description
Object

The value of the cell located in the previous row of the current column.

Remarks

The dataField parameter specifies a field located in the Data Header Area. If several fields are located in this area, this parameter identifies a data field against which the required cell value is calculated.

Note

If you call the GetPrevRowCellValue method while an asynchronous operation is being performed, an exception will be thrown. To determine whether the operation is in progress, use the pivot grid’s IThreadSafeAccessible.IsAsyncInProgress property. For more information, see Asynchronous Mode.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GetPrevRowCellValue(PivotGridField) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also