Posted 21 January 2018, 8:30 am EST
Hi All
How i can change DropDown Width?
i use C1ComboBox with Long Data and i want to change max dropdown Width
how i can do that ?
look at the following example: C1ComboBox_DropDownWidth.zip
thx
saleem.
Forums Home / ComponentOne / WinForms Edition
Posted by: samo3889 on 21 January 2018, 8:30 am EST
Posted 21 January 2018, 8:30 am EST
Hi All
How i can change DropDown Width?
i use C1ComboBox with Long Data and i want to change max dropdown Width
how i can do that ?
look at the following example: C1ComboBox_DropDownWidth.zip
thx
saleem.
Posted 22 January 2018, 2:21 am EST
Hello Saleem,
Thank you for sharing the sample.
You can use the DropDownForm property of the C1ComboBox to set a new width or height for the drop down.
http://help.grapecity.com/componentone/NetHelp/c1input/webframe.html#C1.Win.C1Input.4~C1.Win.C1Input.DropDownForm_members.html
Also, you may try using the C1Combo control of ComponentOne. It has the property DropDownWidth that helps you specify the width required to be set for the drop down.
http://help.grapecity.com/componentone/NetHelp/c1list/webframe.html#C1.Win.C1List.4~C1.Win.C1List.ComboBoxContainer~DropDownWidth.html
The modified sample has been attached for your reference.
Best Regards,
Esha
C1ComboBox_DropDownWidth_mod.zip
Posted 22 January 2018, 5:51 am EST
Thanks Esha for help