1 instantiation of FormattedString
Microsoft.Maui.Controls (1)
FormattedString.cs (1)
34
public static implicit operator FormattedString(string text) => new
FormattedString
{ Spans = { new Span { Text = text } } };
12 references to FormattedString
Microsoft.Maui.Controls (12)
FormattedString.cs (4)
32
public static explicit operator string(
FormattedString
formatted) => formatted.ToString();
34
public static implicit operator
FormattedString
(string text) => new FormattedString { Spans = { new Span { Text = text } } };
104
return (
FormattedString
)strValue;
112
if (value is
FormattedString
formattedStr)
Label\Label.cs (8)
54
public static readonly BindableProperty FormattedTextProperty = BindableProperty.Create(nameof(FormattedText), typeof(
FormattedString
), typeof(Label), default(
FormattedString
),
59
var
formattedString = ((
FormattedString
)oldvalue);
75
var
formattedString = (
FormattedString
)newvalue;
134
public
FormattedString
FormattedText
136
get { return (
FormattedString
)GetValue(FormattedTextProperty); }