>Update: I tried adding this code:
My question (finally!) is if this is a sound solution? It works, but
feels "hacky" to me and I suspect I may be missing a more elegant solution.
Anyone have any ideas?
<code>
public PMDDataGridViewTextBoxEditingControl()
:base()
{
this.Multiline = true;
}
</code>
This has no effect, I still need to insert the Environment.NewLine
characters.
It's strange, DataGridViewTextBoxEditingControl derives from TextBox,
I'm not clear where the different behavior is being introduced. In
other words, if I create a multiline TextBox control I can press enter
and get a newline, so why with this DGV control is the behavior different?