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

LookUpEdit.GetColumnValue(String) Method

Returns the value of a specific column for the currently selected row in the dropdown.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public virtual object GetColumnValue(
    string fieldName
)

#Parameters

Name Type Description
fieldName String

A string identifying the field whose value should be returned.

#Returns

Type Description
Object

An object representing the column’s value in the current row.

#Remarks

To get the value of a particular field in a specific row in the dropdown the RepositoryItemLookUpEdit.GetDataSourceValue method can be used.

See Also