Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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