Visual Studio - Add a line break in a label via the designer?
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 t开发者_C百科he designer to make a line break in the text? (\n\r just shows \n\r)
This is WinForms (actually it is Compact Framework.)
Select the dropdown next to the label. Then you can just use the Enter
key to enter line breaks.
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.
Dropdown is in the properties section.
精彩评论