How do I programmatically add text with line breaks to a textblock?
If I insert text like this:
helpBlock.Text = \"Here is some text.
You could just pass in newline \n instead of
\n
helpBlock.Text = "Here is some text. \n Here is \n some \n more.";
Or in Xaml you would use the Hex value of newline
Hex
Both results: