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
Answers. You can also use Shift + Enter in the resource editor...
Use Shift + Enter to insert a new line.
In a String, "\r\n" is ONE character.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With