Is there a way to remove the NoWrap
limit from a WPF TextBox
?
Adding a very long string of text to a TextBox
with TextWrapping="NoWrap"
will still wrap after 9,600 characters.
Windows Notepad with Word Wrap
off will still wrap after 1,024 characters.
Sumblime Text Editor does not seem to have a NoWrap
limit.
Using a RichTextBox
must still define a PageWidth
.
https://stackoverflow.com/a/1369184/6806643
This solution uses MaxLines="1"
, except I need multiple lines for different sets of characters.
https://stackoverflow.com/a/46322198/6806643