Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Text in the message box should be the next next lines

Tags:

Basically i display the some text in the MessageBox with Ok and Cancel button in WindowPhone 7.1.

I need the requirement like the below.

Some text will be here....

Property:value...

Actually we can simply the text in the MessageBox, but how can i add the linebreak between the text in the MessageBox.. Is there any way to do this in Windows Phone?

like image 915
David Bekham Avatar asked Jun 22 '12 12:06

David Bekham


1 Answers

You can use Environment.Newline for line breaks

string msg = "Text here" + Environment.NewLine + "some other text";
like image 181
Charleh Avatar answered Oct 12 '22 22:10

Charleh