Back to Devexpress

PivotCustomFieldDataEventArgs.GetListSourceColumnValue(Int32, String) Method

wpf-devexpress-dot-xpf-dot-pivotgrid-dot-pivotcustomfielddataeventargs-dot-getlistsourcecolumnvalue-x28-system-dot-int32-system-dot-string-x29.md

latest2.3 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.PivotGrid

Declaration

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

Parameters

NameTypeDescription
listSourceRowIndexInt32

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

TypeDescription
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

ListSourceRowIndex

PivotCustomFieldDataEventArgs Class

PivotCustomFieldDataEventArgs Members

DevExpress.Xpf.PivotGrid Namespace