When binding a Label.Text = "{Binding BreaklineText}"
string BreaklineText = "Text first line. \n Text second line.";
The XAML does not recognise \n as breakline
have tried many ways \n \r
I refuse to believe I will need to dynamically create a Custom control to generate spans on numbers of \n ...
is there any easier/simpler approach ?
↧
Bind breakline symbol to Label.Text
↧