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

RepositoryItemTreeListLookUpEdit.GetKeyValueByIndex(Int32) Method

Returns the key value contained in the specified row.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraTreeList.v24.2.dll

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

#Declaration

public virtual object GetKeyValueByIndex(
    int index
)

#Parameters

Name Type Description
index Int32

An integer that is the index of the required row.

#Returns

Type Description
Object

The value of the row’s ValueMember field.

#Remarks

This method returns the key value (the value of the RepositoryItemLookUpEditBase.ValueMember field) contained in the specified row.

See Also