0
Q
文本框中的新行
A
回答
1
<TextBox
Name="tbMultiLine"
TextWrapping="Wrap"
AcceptsReturn="True"
VerticalScrollBarVisibility="Visible"
>
This TextBox will allow the user to enter multiple lines of text. When the RETURN key is pressed,
or when typed text reaches the edge of the text box, a new line is automatically inserted.
</TextBox
1
使用文本块,并设置您的XAML以下参数:
<TextBox name="textBox1"
TextWrapping="Wrap"
VerticalScrollBarVisibility="Visible"
AcceptsReturn="true"/>
相关问题
- 1. 如何在文本框的文本中添加新行?
- 2. 文本框中的换行
- 3. 对话框中的多行文本框
- 4. 关于带文本框的html行的克隆新文本框的触发器
- 5. VBA:文本框新/下一行
- 6. Gridview行更新问题与文本框
- 7. 更新文本框
- 8. 多行文本框中的当前行
- 9. 更新文本框的值
- 10. 新线的文本框
- 11. 更新文本框的值
- 12. 防止多行文本框中出现新行
- 13. AS3输入文本框获得用\ n换行的每条新行的文本
- 14. 无法更新TinyMCE中的文本框
- 15. 如何将文本中的行文本放入文本框?
- 16. C#如何让文本框中的新行和白色空间
- 17. 在asp.net文本框中新行的非标准值?
- 18. 文本框中的文本
- 19. 在.Net中的文本框的特定行中插入文本
- 20. 多行文本框
- 21. 多行文本框
- 22. 滚动到新的文本框选择一个新的文本框
- 23. 在多行文本框中降序文本(精简框架,C#)
- 24. DataGridView中的多行文本框
- 25. iphone中的多行文本框
- 26. Python中的多行文本输入框
- 27. 删除文本框中的行。
- 28. WPF - 转到文本框中的行
- 29. Silverlight中的多行文本框
- 30. WinForms文本框中的换行符
为什么你需要吗? – sll
在文本框中按下并转到新行。 – mrJack
@sll:我需要多行文本框 – mrJack