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

RepositoryItemGridLookUpEdit.GetKeyValue(Int32) Method

Returns a value of the ValueMember field from the specified row.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraGrid.v24.2.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

#Declaration

public virtual object GetKeyValue(
    int index
)

#Parameters

Name Type Description
index Int32

A zero-based index of the required row.

#Returns

Type Description
Object

A key value in the specified row.

#Remarks

This method returns a key value from the row that is identified by the specified index. A key value is the value of the RepositoryItemLookUpEditBase.ValueMember field.

See Also