Skip to main content

PivotChartDataSourceRow.CellInfo Property

Gets information about a pivot grid cell that corresponds to the current datasource row.

Namespace: DevExpress.XtraPivotGrid.Data

Assembly: DevExpress.XtraPivotGrid.v24.1.dll

NuGet Package: DevExpress.Win.PivotGrid

Declaration

public PivotCellBaseEventArgs CellInfo { get; }

Property Value

Type Description
PivotCellBaseEventArgs

A PivotCellBaseEventArgs object that contains information about a pivot grid cell that corresponds to the current datasource row.

Remarks

The returned PivotCellBaseEventArgs object allows you to identify the cell value, position (column and row), etc.

The main members exposed by the PivotCellBaseEventArgs object are listed in the following table.

PivotCellEventArgsBase<TField, TData, TCustomTotal>.Value

Gets the processed cell’s value.

PivotCellEventArgsBase<TField, TData, TCustomTotal>.ColumnField

Gets the innermost column field which corresponds to the processed cell.

PivotCellEventArgsBase<TField, TData, TCustomTotal>.RowField

Gets the innermost row field that corresponds to the processed cell.

PivotCellEventArgsBase<TField, TData, TCustomTotal>.DataField

Gets the data field which identifies the column where the processed cell resides.

PivotCellEventArgsBase<TField, TData, TCustomTotal>.ColumnIndex

Gets the visual index of the column that contains the processed cell.

PivotCellEventArgsBase<TField, TData, TCustomTotal>.RowIndex

Gets the index of the row that contains the processed cell.

PivotCellEventArgsBase<TField, TData, TCustomTotal>.GetFieldValue

Returns the specified column or row field’s value for the cell, addressed by its zero-based index in the data area.

To obtain information about field values that identify this cell, use the PivotChartDataSourceRow.ColumnValueInfo and PivotChartDataSourceRow.RowValueInfo properties.

To specify the series, argument and value of a chart point that will represent the current datasource row, use the PivotChartDataSourceRowBase.Series, PivotChartDataSourceRowBase.Argument and PivotChartDataSourceRowBase.Value properties respectively.

See Also