Is it possible to prevent a multi line HeaderText in a DataGridView?
When the length of the HeaderText property reaches a certain character limit and there is a space in the text, WinForms automatically inserts a link break in the header: What I want: +-----------------------+--- | Measurement Value (%) | ... +-----------------------+--- What I get: +-----------------------+--- | Measurement Value | ... |(%) | +-----------------------+--- There is more than enough space to display all header cells without the lines breaks, but for whatever reason it is still inserted even when I set the AutoSizeMode to HeaderCell . How can I prevent these line breaks, while