Skip to main content

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

#Declaration

public object GetListSourceFieldValue(
    int listSourceRowIndex,
    string fieldName
)

#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