Basically, i am creating a button in Oval shape. But my button label is too long to display in one line. So i wanted to split in to multiple lines. So the Oval button looks good.
My Problem is, How to enable word wrap on a Button?
Any suggestions?
Basically, i am creating a button in Oval shape. But my button label is too long to display in one line. So i wanted to split in to multiple lines. So the Oval button looks good.
My Problem is, How to enable word wrap on a Button?
Any suggestions?
What if you just add newline in the text at the place where it should split?
Try to add "\n" to button's Text property in the places you want to wrap.
Set the label text on form load and add Environment.Newline as the newline string, like this:
btnOK.Text = "OK" + Environment.NewLine + "true";
two options