I have a label that I want to use to show some text. I want to show a few paragraphs of text.
Is there a way via the designer to make a line break in the text? (\n\r just shows \n\r)
This is WinForms (actually it is Compact Framework.)
Press Shift+Enter as you type the label text to add a line break.
<br>: The Line Break element. The <br> HTML element produces a line break in text (carriage-return). It is useful for writing a poem or an address, where the division of lines is significant.
You can click the down arrow in the Text property to see a multi-line text field.
In the popup, you can press Enter to make a newline.
Select the dropdown next to the label. Then you can just use the Enter
key to enter line breaks.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With