C#WinForm中ComboBox如何限定下拉框的行数

C# ComboBox限制展示数,需要设置一下三个属性:

1)IntegralHeight :false

2)MaxLength:(展示的个数,超过的用滚动条展示)

3)MaxDropDownList:最大显示数

C#WinForm中ComboBox如何限定下拉框的行数

显示:

C#WinForm中ComboBox如何限定下拉框的行数