VGridControlBase.GetRecordObject(Int32) Method

Returns an Object in the bound data source that contains data for the specified vertical grid record.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v21.1.dll

Declaration

public virtual object GetRecordObject(
    int recordIndex
)

Parameters

Name Type Description
recordIndex Int32

An integer value that specifies the vertical grid record’s index.

Returns

Type Description
Object

An object that specifies a row of data in a data source. null (Nothing in Visual Basic) if the record at the specified index is not found.

Remarks

The returned value depends on the bound data source. If the data source is a DataTable or DataView, this method returns a DataRowView. If the control is bound to a collection of custom objects, this method returns the corresponding object.

See Also