Skip to main content
A newer version of this page is available. .

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Grid.Core, DevExpress.Wpf.Grid.Core

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