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.v22.1.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";
See Also