Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
115
Values in Wincombo to be auto resized but not the combo
posted

I have got a combobox which has got values with large text. The size of the combobox is fixed, when user click on the right button to drop down the values, if should resize the values only the dropdown values which are displayed and not the actual combo box size.

let me know if this is not clear, i can paste a screenshot.

 

Sumit

Parents
  • 469350
    Verified Answer
    Offline posted

     Hi Sumit,

    So you want to size the columns to the data, but not change the size of the dropdown? This will mean the dropdown will show a scrollbar. I thikn if you set DropDownWidth to a fixed value, it will do what you want. Then you will need to call PerformAutoSize on each column to size the column to the data. Make sure you use the overload that takes an enum and specify sizing for all rows. 

Reply Children
No Data