Maybe I'm not using the right key words, but all my searches are coming up empty. How do you force a line break?

I can tell you that none of the following work:

<Label
    Content="Line&br;Break:" />

<Label
    Content="Line<br />Break:" />

<Label
    Content="Line
    Break:" />

<Label
    Content="Line\nBreak:" />

Can someone share this closely guarded secret?

Thanks.


EDIT:

Okay, never mind. I finally found it.

<Label
    Content="Line&#x0a;Break:" />

Definitely not easy to guess!


EDIT 2:

Okay, and now to get the text to be right-justified, I went with this:

<Label>
    <TextBlock
        TextAlignment="Right"
        Text="Line&#x0a;Break:" />
</Label>

Thanks to Julien for the idea of using a TextBlock.

Edit
Report