Narasimha
Narasimha

Reputation: 3766

How to implement custom escape sequence related new line in c# Windows8?

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

Answers (1)

Paul Michaels
Paul Michaels

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

Related Questions