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 不可编辑下拉样式

相关