PivotCustomFieldValueCellsEventArgs.GetCellValue(Int32, Int32) Method
Gets the value of a data cell by its column and row indexes.
Namespace: DevExpress.Xpf.PivotGrid
Assembly: DevExpress.Xpf.PivotGrid.v20.1.dll
NuGet Packages: DevExpress.WindowsDesktop.Wpf.PivotGrid, DevExpress.Wpf.PivotGrid
Declaration
Parameters
Name | Type | Description |
---|---|---|
columnIndex | Int32 | An integer value that specifies the zero-based index of the column where the cell resides. |
rowIndex | Int32 | An integer value that specifies the zero-based index of the row where the cell resides. |
Returns
Type | Description |
---|---|
Object | The value of the data cell with the specified column and row indexes. |
Remarks
Use the PivotCustomFieldValueCellsEventArgs.ColumnCount and PivotCustomFieldValueCellsEventArgs.RowCount properties to obtain the total number of columns and rows in the pivot grid.
Note
Cell values provided by the PivotGridControl.CustomCellValue event cannot be obtained using the GetCellValue method, because the PivotGridControl.CustomFieldValueCells event is raised prior to the PivotGridControl.CustomCellValue.