用到Combox控件两个属性:

1 MaxDorpDownItems 显示条数

2 IntegralHeight 设置 为false

 

 

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

this.comboBox1.IntegralHeight = false;

this.comboBox1.MaxDropDownItems = 20;

相关文章:

  • 2021-08-08
  • 2022-02-09
  • 2021-07-12
  • 2021-07-02
  • 2021-11-18
  • 2021-07-17
  • 2021-05-14
  • 2021-10-03
猜你喜欢
  • 2021-11-18
  • 2021-08-25
  • 2021-11-23
  • 2021-12-12
  • 2021-10-07
  • 2021-10-05
  • 2021-06-24
相关资源
相似解决方案