RepositoryItemGridLookUpEdit.GetDisplayText(Int32) Method
Returns the text representation of the 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 | The zero-based index of the required row in the dropdown data source. |
Returns
Type | Description |
---|---|
String | A string that specifies the display text for the specified row. |
Remarks
This method retrieves the display text from the row that is positioned at the specified index in the underlying data source. The display text is the text representation of the row’s value that is stored in the RepositoryItemLookUpEditBase.DisplayMember field.
To get a display value (object) rather than its text representation use the RepositoryItemGridLookUpEdit.GetDisplayValue method.