GridColumnDataEventArgs.GetListSourceFieldValue(Int32, String) Method

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

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v20.2.dll

Declaration

public object GetListSourceFieldValue(
    int listSourceRowIndex,
    string fieldName
)
Public Function GetListSourceFieldValue(
    listSourceRowIndex As Integer,
    fieldName As String
) As Object

Parameters

Name Type Description
listSourceRowIndex Int32

A zero-based integer value that identifies the record in a data source by its index.

fieldName String

A String value that specifies the name of the data source field.

Returns

Type Description
Object

An object that represents a value from the grid's data source.

See Also