WinForms ComboBox DropDown and Autocomplete window both appear

后端 未结 10 1305
礼貌的吻别
礼貌的吻别 2020-12-05 17:41

I\'ve got a ComboBox on a winforms app with this code:

comboBox1.AutoCompleteMode = AutoCompleteMode.SuggestAppend;
comboBox1.AutoCompleteSource         


        
10条回答
  •  生来不讨喜
    2020-12-05 17:55

    Select the ComboBox from the design view and set "Append" to the AutoCompleteMode property, this will suggest the item without apearing a window.

提交回复
热议问题