Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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