PivotCellBaseEventArgs.GetCellValue(Object[], Object[], PivotGridField) Method
In This Article
Returns a cell value calculated for the specified column and row field values, against the specified data field.
Namespace: DevExpress.Xpf.PivotGrid
Assembly: DevExpress.Xpf.PivotGrid.v24.2.dll
NuGet Package: DevExpress.Wpf.PivotGrid
#Declaration
public object GetCellValue(
object[] columnValues,
object[] rowValues,
PivotGridField dataField
)
#Parameters
Name | Type | Description |
---|---|---|
column |
Object[] | An array of column values. |
row |
Object[] | An array of row values. |
data |
Pivot |
A Pivot |
#Returns
Type | Description |
---|---|
Object | A summary value calculated for the specified column and row field values, against the specified data field. |
#Remarks
Consider the pivot grid displayed in the image below.
The following table illustrates how to use the GetCellValue method to obtain specific cell values.
Cell | C# | Visual Basic |
---|---|---|
Red | e. |
e. |
Green | e. |
e. |
Blue | e. |
e. |
See Also