'TextBlock'에 해당되는 글 1건

  1. 2013.11.22 TextBlock에서 라인 띄우는 법
Windows8 App2013. 11. 22. 16:21
testText.Text = "Testing 123" + Environment.NewLine + "Testing ABC";
 
StringBuilder builder = new StringBuilder();
builder.Append(Environment.NewLine);
builder.Append("Test Text");
builder.Append(Environment.NewLine);
builder.Append("Test 2 Text");
testText.Text += builder.ToString();

http://stackoverflow.com/questions/15582398/programmatic-textblock-entry-with-linebreaks

Posted by 동동(이재동)