We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to customize ComboBoxAutoComplete control's DropDown width?

Platform: WinForms |
Control: ComboBoxAutoComplete |
Published Date: August 10, 2015 |
Last Revised Date: May 22, 2019

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

Sample Links:

C#: http://www.syncfusion.com/downloads/support/directtrac/141602/ze/ComboBoxAutoComplete389270635

VB: http://www.syncfusion.com/downloads/support/directtrac/141602/ze/ComboBoxAutoComplete_VB796982708

2X faster development

The ultimate WinForms UI toolkit to boost your development speed.
ADD COMMENT
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon