Back to Devexpress

GridColumnDataEventArgs.GetListSourceFieldValue(Int32, String) Method

wpf-devexpress-dot-xpf-dot-grid-dot-gridcolumndataeventargs-dot-getlistsourcefieldvalue-x28-system-dot-int32-system-dot-string-x29.md

latest1.8 KB
Original Source

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

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

Parameters

NameTypeDescription
listSourceRowIndexInt32

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

TypeDescription
Object

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

|

See Also

GridColumnDataEventArgs Class

GridColumnDataEventArgs Members

DevExpress.Xpf.Grid Namespace