PivotCellEventArgsBase<TField, TData, TCustomTotal>.GetCellValue(Int32, Int32) Method

Returns a cell value by the column and row indexes.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.PivotGrid.v20.2.Core.dll

Declaration

public object GetCellValue(
    int columnIndex,
    int rowIndex
)
Public Function GetCellValue(
    columnIndex As Integer,
    rowIndex As Integer
) As Object

Parameters

Name Type Description
columnIndex Int32

A zero-based integer which identifies the visible index of the column.

rowIndex Int32

A zero-based integer which identifies the visible index of the row.

Returns

Type Description
Object

A value displayed in the specified cell.

Remarks

The PivotCellEventArgsBase<TField, TData, TCustomTotal>.ColumnIndex and PivotCellEventArgsBase<TField, TData, TCustomTotal>.RowIndex properties allow you to identify the currently processed cell.

NOTE

Note that the GetCellValue method returns values calculated based on the data source data and does not take into an account custom cell values provided via the CustomCellValue event. To obtain a custom cell value, use the PivotCellEventArgsBase<TField, TData, TCustomTotal>.Value property.

See Also