CustomFieldDataEventArgsBase<T>.GetListSourceColumnValue(Int32, String) Method

Returns the value of the specified cell within the specified row in the control's underlying data source.

Namespace: DevExpress.XtraPivotGrid

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

Declaration

public object GetListSourceColumnValue(
    int listSourceRowIndex,
    string columnName
)
Public Function GetListSourceColumnValue(
    listSourceRowIndex As Integer,
    columnName As String
) As Object

Parameters

Name Type Description
listSourceRowIndex Int32

An integer value that specifies the required row index in the data source.

columnName String

A String that specifies the name of the field whose value should be obtained.

Returns

Type Description
Object

The value from the specified field in the control's data source.

Remarks

The GetListSourceColumnValue method returns a value from a specific cell in the control's underlying data source. This cell is identified by the row index and field name (column name).

To obtain the index of the currently processed row, use the CustomFieldDataEventArgsBase<T>.ListSourceRowIndex property.

See Also