Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

public virtual object GetRecordObject(
    int recordIndex
)

#Parameters

Name Type Description
recordIndex 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.

See Also