How to add a line break in string resource from Resources.resw file for use in TextBlock

Apptacular Apps 386 Reputation points
2020-06-09T20:23:14.873+00:00

How can the Resources.resw file be used to add a line break in a string resource?

I tried the following but it didn't work:

<TextBlock x:Uid="Example" />

Name: Example
Value: Line 1 Line 2

Universal Windows Platform (UWP)
0 comments No comments
{count} votes

Accepted answer
  1. Matt Lacey 791 Reputation points MVP
    2020-06-09T20:45:48.553+00:00

    Simply put a line break in the value in the resource.

    tip: Shift+Enter in the editor will add the new line. ;)

    9741-resource-line-break.png

    3 people found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.