How to display multiline text in a label control? Thanks!

  • Thread starter Thread starter Ryan
  • Start date Start date
Add Environment.NewLine to the end of each line (except the last line). For
example:

myLabel.Text = "Multi-line" + Environment.NewLine + "label";

Best Regards,
Dustin Campbell
Developer Express Inc.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top