Skip to main content

PivotChartDataSourceRow.CellInfo Property

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

Namespace: DevExpress.Xpf.PivotGrid

Assembly: DevExpress.Xpf.PivotGrid.v24.1.dll

NuGet Package: DevExpress.Wpf.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.

PivotCellBaseEventArgs.Value

Gets the processed cell’s value.

PivotCellBaseEventArgs.ColumnField

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

PivotCellBaseEventArgs.RowField

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

PivotCellBaseEventArgs.DataField

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

PivotCellBaseEventArgs.ColumnIndex

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

PivotCellBaseEventArgs.RowIndex

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

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