Articles in this section
Category / Section

How to customize ComboBoxAutoComplete control's DropDown width?

1 min read

You can customize the ComboBoxAutoComplete width by using the DropDownWidth property.

 

The following code example demonstrates the same.

C#

//Specifies the default DropDown width of the ComboBoxAutoComplete.
this.comboBoxAutoComplete1.DropDownWidth = this.comboBoxAutoComplete1.Width;

VB

'Specifies the default DropDown width of the ComboBoxAutoComplete.
Me.comboBoxAutoComplete1.DropDownWidth = Me.comboBoxAutoComplete1.Width

 

Showing before specifying the DropDown width

Figure 1: Before specifying the DropDown width for the ComboBoxAutoComplete

 

Showing after specifying the default DropDown width

Figure 2: After specifying the default DropDown width for the ComboBoxAutioComplete

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied