RepositoryItemSearchLookUpEdit.GetIndexByKeyValue(Object) Method
In This Article
Returns the index of the row that contains the specified value in the ValueMember field.
Namespace: DevExpress.XtraEditors.Repository
Assembly: DevExpress.XtraGrid.v24.2.dll
NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
key |
Object | The value of the Value |
#Returns
Type | Description |
---|---|
Int32 | An integer that specifies the index of the required row. |
#Remarks
This method searches for the row that contains the specified key value (value of the RepositoryItemLookUpEditBase.ValueMember field) and returns the index of the first row found.
Note
In Server Mode, the Get
See Also