Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

wpf textblock line break code behind

TextBlock tb = new TextBlock();
tb.Inlines.Add(new Run("Hello"));
tb.Inlines.Add(new LineBreak());
tb.Inlines.Add(new Run("Would you please just work?"));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #wpf #textblock #line #break #code
ADD COMMENT
Topic
Name
9+9 =