KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
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
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
Break:" /> </Label> Thanks to Julien for the idea of using a TextBlock.
Tags (comma-separated)
Save Edits
Cancel