Skip to main content

GridControl.GetCellDisplayTextByListIndex(Int32, String) Method

Returns the text displayed within the specified cell.

Namespace: DevExpress.Xpf.Grid

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

Declaration

public string GetCellDisplayTextByListIndex(
    int listSourceRowIndex,
    string fieldName
)

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