SourceGrid.Cells.Editors.ComboBox更改下拉样式

SourceGrid.Cells.Editors.ComboBox cb = new SourceGrid.Cells.Editors.ComboBox(typeof(string));
cb.Control.DropDownStyle = ComboBoxStyle.DropDownList;
ComboBoxStyle有三个值:

  Simple 简单样式
  DropDown 可编辑下拉样式
  DropDownList 不可编辑下拉样式

posted @ 2021-08-12 15:14  乡野小猫  阅读(89)  评论(0编辑  收藏  举报