ToolStripComboBox -- autosize to items

Posted by rotard on Stack Overflow See other posts from Stack Overflow or by rotard
Published on 2010-04-29T20:24:38Z Indexed on 2010/04/29 20:27 UTC
Read the original article Hit count: 784

Filed under:
|
|

I have a ToolStrip with a ToolStripComboBox control on it, and I would like it to autosize to fit the widest item in the drop down list. How can I accomplish that? The "Autosize" property is set to "true", but it doesn't seem to be making any difference. I've been banging my head over this for a while. Is it even possible?

© Stack Overflow or respective owner

Related posts about .NET

Related posts about winforms