Answers for "wpf textblock line break code behind"

C#
0

wpf textblock line break code behind

TextBlock tb = new TextBlock();
tb.Text = "Hello" + Environment.NewLine + "Would you please just work?";
Posted by: Guest on June-05-2020
0

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?"));
Posted by: Guest on June-05-2020

C# Answers by Framework

Browse Popular Code Answers by Language