1 write to FormattedText
Microsoft.Maui.Controls (1)
Label\Label.cs (1)
367 label.FormattedText = null;
22 references to FormattedText
Microsoft.Maui.Controls (20)
Label\Label.cs (11)
50 /// <summary>Bindable property for <see cref="FormattedText"/>.</summary> 51 public static readonly BindableProperty FormattedTextProperty = BindableProperty.Create(nameof(FormattedText), typeof(FormattedString), typeof(Label), default(FormattedString), 126 if (FormattedText != null) 127 SetInheritedBindingContext(FormattedText, this.BindingContext); 270 OnPropertyChanging(nameof(FormattedText)); 274 OnPropertyChanged(nameof(FormattedText)); 386 => (FormattedText?.Spans?.Count ?? 0) > 0; 391 if (FormattedText?.Spans == null || FormattedText?.Spans.Count == 0) 395 for (int i = 0; i < FormattedText.Spans.Count; i++) 397 Span span = FormattedText.Spans[i];
Label\Label.Mapper.cs (4)
24 LabelHandler.Mapper.ReplaceMapping<Label, ILabelHandler>(nameof(FormattedText), MapText); 60 handler.UpdateValue(nameof(FormattedText)); 133 handler.UpdateValue(nameof(FormattedText)); 149 handler.UpdateValue(nameof(FormattedText));
Platform\iOS\Extensions\FormattedStringExtensions.cs (4)
25 label.FormattedText, 146 if (element?.FormattedText?.Spans is null 147 || element.FormattedText.Spans.Count == 0) 172 var spans = element.FormattedText.Spans;
Platform\iOS\Extensions\LabelExtensions.cs (1)
21 if (label.FormattedText != null)
Microsoft.Maui.Controls.Compatibility (2)
Tizen\Renderers\LabelRenderer.cs (2)
69 if (Element.FormattedText != null) 70 Control.FormattedText = ConvertFormattedText(Element.FormattedText);