更新时间:2023-12-04 13:40:34
我遇到了类似的问题,我使用 AcceptsReturn="True 用 this question 解决了它".所以我认为,这应该可行.
AcceptsReturn="True 用 this question 解决了它"
I had similar problem, I solved it with this question using AcceptsReturn="True". So I think, this should work.
AcceptsReturn="True"
在WPF textBox中,回车不添加新行
在运行时在WPF RichTextBox中的新行中添加文本
不要在textarea中添加新行
我如何在WPF中将新行添加到DataGrid中?
在 svg 中添加一个新行,bug 看不到该行
在将新元素插入现有xml中时,lxml不添加换行符
在 WPF 中为字符串资源添加回车
WPF的DataGrid - 如何把注意力集中在DataGrid的底部添加新行?
如何在不覆盖C#.NET中的数据的情况下将新行添加到现有的Excel文件中