Skip to main content

RepositoryItemLookUpEdit.GetDataSourceValue(LookUpColumnInfo, Int32) Method

Gets the value contained in the specified row and column in the dropdown data source.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public virtual object GetDataSourceValue(
    LookUpColumnInfo column,
    int rowIndex
)

Parameters

Name Type Description
column LookUpColumnInfo

A LookUpColumnInfo object representing the column that contains the required value.

rowIndex Int32

An integer value specifying the row’s visual index in the dropdown list.

Returns

Type Description
Object

An object representing the value contained in the specified row and column. null if the specified row or column is not found.

Remarks

Use the GetDataSourceValue method to obtain the value of a specific row and column in the dropdown data source. The row is identified by its visual index in the dropdown list. This index can be obtained via the RepositoryItemLookUpEdit.GetDataSourceRowIndex method.

See Also