Skip to main content

PivotCustomFieldDataEventArgs.GetListSourceColumnValue(Int32, String) Method

Gets the value of the specified field in the specified row in the control’s underlying data source.

Namespace: DevExpress.Xpf.PivotGrid

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

NuGet Package: DevExpress.Wpf.PivotGrid

Declaration

public object GetListSourceColumnValue(
    int listSourceRowIndex,
    string columnName
)

Parameters

Name Type Description
listSourceRowIndex Int32

An integer value which identifies the required row’s index in the data source.

columnName String

A string which represents the required field name.

Returns

Type Description
Object

An object which represents the field’s value in the control’s data source.

Remarks

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

The index of the currently processed row is specified by the PivotCustomFieldDataEventArgs.ListSourceRowIndex property.

See Also