Is it possible to prevent a multi line HeaderText in a DataGridView?

前端 未结 4 1498
滥情空心
滥情空心 2021-02-18 17:50

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 he

4条回答
  •  眼角桃花
    2021-02-18 18:21

    if you want to stop multiline text in DataGridView control then Wrap Mode should be false and set padding enter image description here

提交回复
热议问题