WPF Textblock, linebreak in Text attribute

后端 未结 15 1209
南方客
南方客 2021-02-03 16:37

Is there a way to have \\n make a line break in a TextBlock?


Or is there a

15条回答
  •  独厮守ぢ
    2021-02-03 16:58

    The easiest way is

    blabla coucou coucou 2

    So you just write XAML code, and the has exactly the same meaning the
    in HTML or the "\n" in C#.

提交回复
热议问题