Skip to main content

ComboBoxEdit.EditValue Property

Allows you to select an item with the specific value, or to read the currently selected item’s value. You can also use the ComboBoxEdit.SelectedItem property to do the same. Additionally, EditValue allows you to specify a custom editor value.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v23.2.dll

NuGet Package: DevExpress.Win.Navigation


public override object EditValue { get; set; }

Property Value

Type Description

The edit value.


The code sample below illustrates how to select a “Default” item in an in-place ComboBox editor when a user activates a cell.

private void gridView1_ShownEditor(object sender, EventArgs e)
    GridView currentView = sender as GridView;
    ComboBoxEdit cmbPO = currentView.ActiveEditor as ComboBoxEdit;
    cmbPO.EditValue = "Default";

The following code snippets (auto-collected from DevExpress Examples) contain references to the EditValue property.


The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also