Skip to main content

GridColumnDataEventArgs.GetListSourceFieldValue(String) Method

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

Namespace: DevExpress.Xpf.Grid

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

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

public object GetListSourceFieldValue(
    string fieldName
)

Parameters

Name Type Description
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.

Remarks

This method allows you to obtain any field value from the data source record to which the processed row corresponds. To obtain any field value in any data source record, use the GetListSourceFieldValue method’s overload.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GetListSourceFieldValue(String) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also