Search code examples
c#.netdatagridviewdatagridviewcolumn

How to set DataGridView textbox column to multi-line?


How to let "DataGridViewTextBoxColumn" in DataGridView supports Multiline property?


Solution

  • You should be able to achieve this by setting the WrapMode of the DefaultCellStyle of your DataGridViewTextBoxColumn to true.