How is CheckBox with multi-line text done in Windows Forms?

Kenny C picture Kenny C · May 9, 2011 · Viewed 15.9k times · Source

How do I extend the text in a Windows Forms CheckBox to more than one line?

Answer

keyboardP picture keyboardP · May 9, 2011

You need to use \r\n in order to add a new line. You might have to do this in the code behind. So your code would be like this:

myLabel.Text = "New\r\nLine\r\nExample";