Back to Devexpress

PivotCustomDrawCellBaseEventArgs.GetPrevColumnCellValue(PivotGridField) Method

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

latest2.8 KB
Original Source

PivotCustomDrawCellBaseEventArgs.GetPrevColumnCellValue(PivotGridField) Method

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

Namespace : DevExpress.XtraPivotGrid

Assembly : DevExpress.XtraPivotGrid.v25.2.dll

NuGet Package : DevExpress.Win.PivotGrid

Declaration

csharp
public object GetPrevColumnCellValue(
    PivotGridField dataField
)
vb
Public Function GetPrevColumnCellValue(
    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 column of the current row.

|

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 GetPrevColumnCellValue 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

GetNextColumnCellValue(PivotGridField)

PivotCustomDrawCellBaseEventArgs Class

PivotCustomDrawCellBaseEventArgs Members

DevExpress.XtraPivotGrid Namespace