1 write to Text
Microsoft.Maui.Controls (1)
FormattedString.cs (1)
34
public static implicit operator FormattedString(string text) => new FormattedString { Spans = { new Span {
Text
= text } } };
9 references to Text
Microsoft.Maui.Controls (8)
FormattedString.cs (1)
37
public override string ToString() => string.Concat(Spans.Select(span => span.
Text
));
Platform\iOS\Extensions\FormattedStringExtensions.cs (5)
49
if (span.
Text
== null)
72
var text = TextTransformUtilites.GetTransformedText(span.
Text
, transform);
193
if (string.IsNullOrEmpty(span?.
Text
))
200
var spanEndIndex = currentLocation + span.
Text
.Length - 1;
258
currentLocation += span.
Text
.Length;
Span.cs (2)
79
/// <summary>Bindable property for <see cref="
Text
"/>.</summary>
81
= BindableProperty.Create(nameof(
Text
), typeof(string), typeof(Span), "", defaultBindingMode: BindingMode.OneWay);
Microsoft.Maui.Controls.Compatibility (1)
Tizen\Renderers\LabelRenderer.cs (1)
47
Text = span.
Text
,