RepositoryItemGridLookUpEdit.GetDisplayValue(Int32) Method
Returns an object that is stored in the DisplayMember field in the specified row.
Namespace: DevExpress.XtraEditors.Repository
Assembly: DevExpress.XtraGrid.v24.1.dll
NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation
Declaration
Parameters
Name | Type | Description |
---|---|---|
index | Int32 | A zero-based index of the required row in the dropdown data source. |
Returns
Type | Description |
---|---|
Object | An object stored in the DisplayMember field in the specified row; null if no row exists with the specified index. |
Remarks
This method retrieves an object that is stored in the RepositoryItemLookUpEditBase.DisplayMember field of the specified row. The required row is identified by its index in the underlying data source.
To get the text representation of the display value use the RepositoryItemGridLookUpEdit.GetDisplayText method.