将TextBox的AcceptsReturn属性设置设为True,
就可以在回车之后在文本框中自动换行。
将 TextWrapping 属性设置为 Wrap 会导致输入的文本在到达 TextBox 控件的边缘时换至新行,必要时会自动扩展
TextBox 控件以便为新行留出空间。
将 AcceptsReturn 属性设置为 true 会导致在按 Return 键时插入新行,必要时会再次自动扩展 TextBox
以便为新行留出空间。
将TextBox的AcceptsReturn属性设置设为True,
就可以在回车之后在文本框中自动换行。
将 TextWrapping 属性设置为 Wrap 会导致输入的文本在到达 TextBox 控件的边缘时换至新行,必要时会自动扩展
TextBox 控件以便为新行留出空间。
将 AcceptsReturn 属性设置为 true 会导致在按 Return 键时插入新行,必要时会再次自动扩展 TextBox
以便为新行留出空间。