Hello!
I work with WPF. The following problem occurred:
I display text in TextBox (attributes: TextWrapping="Wrap" VerticalScrollBarVisibility="Visible" AcceptsReturn="True"
- for the implementation of Multiline=true
). When the window is resized (the size of the TextBox also changes) it hangs with a large number of characters (20k +) in the TextBox, and the more characters, the worse.
How to fix the moment?
RichTextBox
line by line? In which direction to dig a bicycle - well, implement the control effectively and manually, for example, using background splitting into lines and outputting lines to theTextBlock
's set, plus manual implementation of the cursor and editing. A good piece of work, yes. - VladD