Using the windowsphonetoolkit how can one force line breaks in the message text to nicely format it. It appears that the stardard "\n" and "\n\r" line breaks do not work.
So something like:
This is the first line
and
This is another line.
Using the windowsphonetoolkit how can one force line breaks in the message text to nicely format it. It appears that the stardard "\n" and "\n\r" line breaks do not work.
So something like:
This is the first line
and
This is another line.
You can achieve that by setting your message in
Contentproperty instead ofMessage. Then the message could be just aTextBlockwhere you can do whatever you want.If you're doing your custom message box in XAML, the could look like this:
But you can also make it in code behind:
Result:
