PivotFieldValueEventArgs.GetCellValue(Int32, Int32) Method

Returns a value displayed in the specified cell.

Namespace: DevExpress.Xpf.PivotGrid

Assembly: DevExpress.Xpf.PivotGrid.v20.1.dll

Declaration

public object GetCellValue(
    int columnIndex,
    int rowIndex
)
Public Function GetCellValue(
    columnIndex As Integer,
    rowIndex As Integer
) As Object

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