Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can we add carriage return ('\n') to the resx file in windows phone?

I have hard coded the carriage return in my codebehind so as to adjust the new lines in english. Now that i have localised my app, it turns out tht the '\n' is at unnecessary places, Is there any way to add the '\n' to the resx file so that i can use when and where i need it? I have tried assigning \n to a string , but it displays '\n' on the screen :( Any other way to do it?

Alfah

like image 983
alfah Avatar asked Mar 12 '12 12:03

alfah


People also ask

How to add line break in resx?

Answers. You can also use Shift + Enter in the resource editor...

How do I add a new line to a resource file?

Use Shift + Enter to insert a new line.

Is r n one character?

In a String, "\r\n" is ONE character.


1 Answers

Yes, I know you can ... I have done it. Try Shift+Enter ... and if that doesn't work, copy and paste it in from Notepad.

like image 76
Martin Avatar answered Oct 16 '22 22:10

Martin