DataGridViewCell won't display line breaks properly when editing
I'm trying to put multiple lines in this DataGridViewCell, but when I edit the value, the line breaks disappear, seemingly because they get converted into
\n
when the cell's value is set rather than staying as \r\n
. How can I fix this? This is .NET 4.7.2 WinForms. If I could use WPF and/or a more modern .NET version, I would.0 Replies