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.v20.2.dll
NuGet Package: DevExpress.Win.VerticalGrid
Declaration
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.
Related GitHub Examples
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.