Answered by:
How to change DropDownHeight in ComboBox in AutoComplete mode

Question
-
Hi All,
I have these settings in combobox control
AutoCompleteMode = Suggest
AutoCompleteSource - ListItems
DropDownStyle = DropDown
I tried to set DropDownHeight to adjust size to the number of suggested items but it does not have effect
Though it does effect if
DropDownStyle = DropDownList
Is that possible to control DropDownHeight if DropDownStyle = DropDown ?
Thank you in advance
Roman
- Moved by jack 321 Tuesday, June 17, 2008 7:05 AM off topic
Friday, June 13, 2008 3:54 PM
Answers
-
Discussion in Windows Forms General
Please remember to mark the replies as answers if they help and unmark them if they provide no help.- Marked as answer by Ed Price - MSFTMicrosoft employee Thursday, May 10, 2012 7:20 AM
Tuesday, June 17, 2008 7:04 AM -
- Proposed as answer by Ed Price - MSFTMicrosoft employee Thursday, May 10, 2012 7:20 AM
- Marked as answer by Ed Price - MSFTMicrosoft employee Thursday, May 10, 2012 7:20 AM
Thursday, May 10, 2012 7:20 AM
All replies
-
Hello,
Why would you want to change the height ? it's being changed automatically or manually by the user.
If you want it to have a fixed height I suspect there's no easy way to do it, and you might have to create few hooks and overrrides to achieve it.Regards.
Sunday, June 15, 2008 1:07 PM -
Discussion in Windows Forms General
Please remember to mark the replies as answers if they help and unmark them if they provide no help.- Marked as answer by Ed Price - MSFTMicrosoft employee Thursday, May 10, 2012 7:20 AM
Tuesday, June 17, 2008 7:04 AM -
- Proposed as answer by Ed Price - MSFTMicrosoft employee Thursday, May 10, 2012 7:20 AM
- Marked as answer by Ed Price - MSFTMicrosoft employee Thursday, May 10, 2012 7:20 AM
Thursday, May 10, 2012 7:20 AM