Back to Devexpress

PivotCustomDrawCellBaseEventArgs.GetPrevRowCellValue(PivotGridField) Method

windowsforms-devexpress-dot-xtrapivotgrid-dot-pivotcustomdrawcellbaseeventargs-dot-getprevrowcellvalue-x28-devexpress-dot-xtrapivotgrid-dot-pivotgridfield-x29.md

latest2.7 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.PivotGrid

Declaration

csharp
public object GetPrevRowCellValue(
    PivotGridField dataField
)
vb
Public Function GetPrevRowCellValue(
    dataField As PivotGridField
) As Object

Parameters

NameTypeDescription
dataFieldPivotGridField

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

|

Returns

TypeDescription
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.

See Also

GetPrevColumnCellValue(PivotGridField)

PivotCustomDrawCellBaseEventArgs Class

PivotCustomDrawCellBaseEventArgs Members

DevExpress.XtraPivotGrid Namespace