VGridControlBase.GetRecordObject(Int32) Method

Returns an object that represents the specified record.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v20.1.dll

Declaration

public virtual object GetRecordObject(
    int recordIndex
)
Public Overridable Function GetRecordObject(
    recordIndex As Integer
) As Object

Parameters

Name Type Description
recordIndex Int32

An integer value that specifies the record's index.

Returns

Type Description
Object

A Object object that represents the specified record. null (Nothing in Visual Basic) if the record with the specified index is not found.

Remarks

The GetRecordObject method returns a value which depends upon the vertical grid's data source type. If the data source is a DataTable or a DataView, this method returns a DataRowView object. If the data source is a custom list of items, the appropriate list item is returned.

See Also