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 } } };
16 references to FormattedString
Microsoft.Maui.Controls (15)
Compatibility\Handlers\Shell\iOS\SearchHandlerAppearanceTracker.cs (2)
198
var
formatted = (
FormattedString
)_searchHandler.Placeholder ?? string.Empty;
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)
51
public static readonly BindableProperty FormattedTextProperty = BindableProperty.Create(nameof(FormattedText), typeof(
FormattedString
), typeof(Label), default(
FormattedString
),
56
var
formattedString = ((
FormattedString
)oldvalue);
72
var
formattedString = (
FormattedString
)newvalue;
131
public
FormattedString
FormattedText
133
get { return (
FormattedString
)GetValue(FormattedTextProperty); }
Platform\iOS\Extensions\FormattedStringExtensions.cs (1)
34
this
FormattedString
formattedString,
Microsoft.Maui.Controls.Compatibility (1)
Tizen\Renderers\LabelRenderer.cs (1)
34
TFormattedString ConvertFormattedText(
FormattedString
formattedString)