DevExpress ComboBoxEdit应用

2019-09-18 更新

1、给ComboBoxEdit添加items

string[] portName=new string[]{"COM1","COM2"};
ComboBoxEdit1.Properties.Items.AddRange(portName);

2、只能选择不能在里面 输入数据
combboxEdit.propoties.textEditStyle=DisableTextEditor

评论