DataGridView: Change Edit Control size while editing

后端 未结 7 917
遇见更好的自我
遇见更好的自我 2020-12-20 16:59

in the DataGridView I want the cell size to expand according to the string length when I edit the cell. Excel does the same.

In the DataGridView, w

7条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-20 17:28

    Would you like the cell to resize as you type? Or would you like it to resize once the text is entered and enter is hit? The second option is by fair the easiest.

    Let me know.

    Thanks

提交回复
热议问题