用到Combox控件两个属性:

1 MaxDorpDownItems 显示条数

2 IntegralHeight 设置 为false

 

 

例如:显示最多20条,超过20条显示垂直滚动条

this.comboBox1.IntegralHeight = false;

this.comboBox1.MaxDropDownItems = 20;

相关文章:

  • 2021-05-17
  • 2021-10-15
  • 2022-12-23
  • 2022-12-23
  • 2021-07-20
  • 2021-08-25
猜你喜欢
  • 2022-12-23
  • 2021-07-06
  • 2022-12-23
  • 2022-12-23
  • 2021-11-18
  • 2021-07-26
相关资源
相似解决方案