9 references to ToNSAttributedString
Microsoft.Maui.Controls (2)
Compatibility\Handlers\Shell\iOS\SearchHandlerAppearanceTracker.cs (1)
201 textField.AttributedPlaceholder = formatted.ToNSAttributedString(_fontManager, defaultHorizontalAlignment: _searchHandler.HorizontalTextAlignment, defaultColor: placeHolderColor);
Platform\iOS\Extensions\FormattedStringExtensions.cs (1)
24 => ToNSAttributedString(
Microsoft.Maui.Controls.Compatibility (7)
iOS\Renderers\EntryRenderer.cs (2)
360 UpdateAttributedPlaceholder(formatted.ToNSAttributedString(Element.RequireFontManager(), defaultColor: color)); 366 UpdateAttributedPlaceholder(formatted.ToNSAttributedString(Element.RequireFontManager(), defaultColor: color));
iOS\Renderers\LabelRenderer.cs (1)
485 Control.AttributedText = _formatted.ToNSAttributedString(Element.RequireFontManager());
iOS\Renderers\PickerRenderer.cs (2)
231 UpdateAttributedPlaceholder(formatted.ToNSAttributedString(Element.RequireFontManager(), defaultColor: color)); 237 UpdateAttributedPlaceholder(formatted.ToNSAttributedString(Element.RequireFontManager(), defaultColor: color));
iOS\Renderers\SearchBarRenderer.cs (2)
339 _textField.AttributedPlaceholder = formatted.ToNSAttributedString(Element.RequireFontManager(), defaultColor: color); 345 _textField.AttributedPlaceholder = formatted.ToNSAttributedString(Element.RequireFontManager(), defaultColor: targetColor ?? ColorExtensions.PlaceholderColor.ToColor());