TextBox not containing "\r\n" strings

As I said in the comment, with Multiline=True and WordWrap=True, your textbox will display a long line as multilines (Wrapped)… but actually it is one single line, and that’s why your Lines.Length=1, try type in some line break yourself, and test it again. Or you can set WordWrap=False, and you will see there is only one line…

Browse More Popular Posts

Leave a Comment