locked
How to change DropDownHeight in ComboBox in AutoComplete mode RRS feed

  • 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

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.
    Tuesday, June 17, 2008 7:04 AM
  • This was moved to the Off Topic forum. I can move it to a specific forum for you, if you'd like.

    Thanks!


    Ed Price (a.k.a User Ed), SQL Server Experience Program Manager (Blog, Twitter, Wiki)

    Thursday, May 10, 2012 7:20 AM