简体   繁体   中英

how to go to next line int WPF C# automatically when the previous line filled?

how can I tell it to go to the next line without using "AcceptsReturn=True". I mean I want it to automatically go to the next line just when the previous line filled. please show me a way to do that

您必须在TextBox启用换行才能使太长的文本自动从新行开始

<TextBox TextWrapping="Wrap"/>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM