Skip to main content

DataGridView.GetCellValue(Int32, String) Method

Gets the value of the specified cell.

Namespace: DevExpress.XamarinForms.DataGrid

Assembly: DevExpress.XamarinForms.Grid.dll

NuGet Package: DevExpress.XamarinForms.Grid

Declaration

public object GetCellValue(
    int rowHandle,
    string fieldName
)

Parameters

Name Type Description
rowHandle Int32

The handle of the row that contains the cell.

fieldName String

The field name of the column that contains the cell. This parameter can refer to any field in the data source, even if the grid does not contain a column associated with this field.

The method throws the NullReferenceException exception if the underlying data source does not contain the specified field.

Returns

Type Description
Object

The specified cell value.

See Also