GridControl.GetCellDisplayTextByListIndex(Int32, String) Method

Returns the text displayed within the specified cell.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v20.1.dll

Declaration

public string GetCellDisplayTextByListIndex(
    int listSourceRowIndex,
    string fieldName
)
Public Function GetCellDisplayTextByListIndex(
    listSourceRowIndex As Integer,
    fieldName As String
) As String

Parameters

Name Type Description
listSourceRowIndex Int32

An integer value that identifies the record in a data source by its index.

fieldName String

A String value that specifies the field name of a column that contains the required cell.

Returns

Type Description
String

A String value that is the text displayed within the specified cell.

See Also