Skip to main content
A newer version of this page is available. .
All docs
V20.2

DataLayoutControl.GetCurrentRecordFieldValue(String) Method

Returns the current record’s cell value in the specified data field.

Namespace: DevExpress.XtraDataLayout

Assembly: DevExpress.XtraLayout.v20.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public object GetCurrentRecordFieldValue(
    string fieldName
)

Parameters

Name Type Description
fieldName String

A string value that specifies the data field name.

Returns

Type Description
Object

An object that specifies the cell value.

Remarks

Use the DataLayoutControl‘s following properties and methods to manage data records in code:

  • RecordCount — Returns the number of records in the bound data source.
  • CurrentRecord — Gets an object that specifies the current data record.
  • CurrentRecordPosition — Gets or sets the index of the data record to be displayed in the control.
  • GetCurrentRecordFieldValue(String) — Returns the current record’s cell value in the specified data field.
  • SetCurrentRecordFieldValue(String, Object) — Assigns the specified value to the current record’s specified field.
See Also