Answer by hossein sedighian for How to add new line in FormattedString
sometimes it is bettter to use this one<StackLayout><Label><Label.FormattedText><FormattedString.Spans><Span Text="First Text"/>...
View ArticleAnswer by Damien Doumer for How to add new line in FormattedString
Here is a "Cleaner" Solution fully in XAML:First, add this namespace to your XAML: xmlns:system="clr-namespace:System;assembly=netstandard"This is the system namespace and it contain all system...
View ArticleAnswer by Martin Rhodes for How to add new line in FormattedString
You can also do this using XAML property element syntax:<Label><Label.FormattedText><FormattedString><Span><Span.Text>Line 1Line...
View ArticleAnswer by Giorgi for How to add new line in FormattedString
You can use Environment.NewLine to move text to the next line like this: public FormattedString FormattedDescription { get { return new FormattedString { Spans = { new Span { Text = RoleName, FontSize...
View ArticleHow to add new line in FormattedString
public FormattedString FormattedDescription { get { return new FormattedString { Spans = { new Span { Text = RoleName, FontSize = 16, FontAttributes = FontAttributes.Bold }, new Span { Text = "/ "+...
View Article