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.v24.2.dll
NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.VerticalGrid
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
record |
Int32 | An integer value that specifies the vertical grid record’s index (visual position). |
#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.