Skip to main content

PivotFieldValueEventArgs.GetCellValue(Int32, Int32) Method

Returns a value displayed in the specified cell.

Namespace: DevExpress.Xpf.PivotGrid

Assembly: DevExpress.Xpf.PivotGrid.v23.2.dll

NuGet Package: DevExpress.Wpf.PivotGrid

Declaration

public object GetCellValue(
    int columnIndex,
    int rowIndex
)

Parameters

Name Type Description
columnIndex Int32

A zero-based integer which identifies the visible index of the column.

rowIndex Int32

A zero-based integer which identifies the visible index of the row.

Returns

Type Description
Object

A value displayed in the specified cell.

Remarks

When an event is raised for a column field‘s value, the columnIndex parameter can be set to a value in the range [PivotFieldValueEventArgs.MinIndex; PivotFieldValueEventArgs.MaxIndex]. The rowIndex parameter can be set to any value in the range [0; PivotGridControl.RowCount-1].

When an event is raised for a row field‘s value, the rowIndex parameter can be set to a value in the range [PivotFieldValueEventArgs.MinIndex; PivotFieldValueEventArgs.MaxIndex]. The columnIndex parameter can be set to any value in the range [0; PivotGridControl.ColumnCount-1].

See Also