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

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

NuGet Package: 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