Reputation: 3766
I am implementing Windows8 C# application in this application using read only mode text box .
i am identifying next line using some custom escape sequence.
how to implement custom escape sequence in c# metro application?
Regards Narasimha
Upvotes: 3
Views: 463
Reputation: 16685
I'm not sure if this answers your question, but the following will allow you to create a line break in a textbox:
myTextBox.Text += Environment.NewLine;
Or:
myTextBox.Text = "This is\nA Multi line\nText Box";
Upvotes: 1