PivotGridControl.GetCellValue(Object[], Object[]) Method
Returns a cell value calculated for the specified column and row field values.
Namespace: DevExpress.Xpf.PivotGrid
Assembly: DevExpress.Xpf.PivotGrid.v24.2.dll
NuGet Package: DevExpress.Wpf.PivotGrid
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
column |
Object[] | An array of column field values that identify the column where the cell resides. |
row |
Object[] | An array of row field values that identify the row where the cell resides. |
#Returns
Type | Description |
---|---|
Object | A summary value calculated for the specified column and row field values. |
#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 | pivot |
pivot |
Green | pivot |
pivot |
Blue | pivot |
pivot |
Note
If there are two or more data fields, an exception is raised by this overload of the Get