Skip to main content
A newer version of this page is available. .

VGridControlBase.GetRecordObject(Int32) Method

Returns an object that represents the specified record.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v19.1.dll

Declaration

public virtual object GetRecordObject(
    int recordIndex
)

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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GetRecordObject(Int32) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also