Tim Van Wassenhove

Passionate geek, interested in Technology. Proud father of two

27 Jan 2007

Presenting the DataGridViewLargeTextBoxCell

Today i decided to experiment a bit with custom DataGridViewCell implementations. If you insert large text into a DataGridView it will (at best) wrap the text. I wanted my DataGridView to behave like Excel so that the whole text is displayed. Here are a couple of screenshots of the result

the large text flows over it’s surrounding columns

the editingcontrol is resized to fit the complete text

Feel free to download CustomDataGridViewCells.zip.