I have used a Textbox control along with its AutoComplete feature by using AutoCompleteMode,AutoCompleteSource and
Everything is working fine i.e. on typing letters dropdown list shows the related matching list of values.
However, I am not able to set the size of dropdown list programmatically. I can increase the size(preferably width) of dropdown list at runtime. But, as AutoCompleteCustomSource is getting reset everytime the textbox gets focused, dropdown
list width also gets reset to the width of the textbox.
Just like the feature of Combo to set DropDownWidth programmatically (or say at design time), is there any way to set dropdown width for a Textbox having AutoComplete feature.
My Code for the reference (On Form Load event) :
TextBox1.AutoCompleteMode = AutoCompleteMode.Suggest
View Complete Post