https://docs.microsoft.com/en-us/xamarin/xamarin-forms/user-interface/text/fonts#use-a-custom-font https://docs.microsoft.com/en-us/xamarin/xamarin-forms/user-interface/text/fonts#display-font-icons
Si está utilizando Xamarin.Forms 4.5.0.530 por debajo de la versión, todavía tiene sentido usar este enchufe.

Este complemento extiende el soporte para los glifos de fuentes (iconos de fuente) en aplicaciones Xamarin.Forms.
xmlns:fontAwesome5Free="clr-namespace:Plugin.Glypher.FontAwesome5Free;assembly=Plugin.Glypher.FontAwesome5Free"
xmlns:glypher="clr-namespace:Plugin.Glypher;assembly=Plugin.Glypher"
< Label glypher:FontGlyph.Glyph= " {x:Static fontAwesome5Free:GlyphListBrand.Fab_Bluetooth} "
FontSize = " Large "
TextColor = " CornflowerBlue " />
< Button glypher:FontGlyph.Glyph= " {x:Static fontAwesome5Free:GlyphListBrand.Fab_Bitcoin} "
FontSize = " Large "
TextColor = " IndianRed " />
< Image >
< Image .Source>
< FontImageSource Size = " 32 "
Color = " Orange "
glypher:FontGlyph.Glyph= " {x:Static fontAwesome5Free:GlyphListRegular.Far_Bell_Slash} " />
</ Image .Source>
</ Image >Plugin.Glypher disponible en nuget: https://www.nuget.org/packages/plugin.glypher Plugin.Glypher no es necesario que se haga referencia si usa ningún otro paquete.
| Paquete | Wiki | Nuget | Androide | iOS |
|---|---|---|---|---|
Plugin.Glypher.FontAwesome5Free | Fuente impresionante 5 gratis | Sí | Sí | |
Plugin.Glypher.FontAwesome5Pro | Font Awesome 5 Pro | Sí | Sí | |
Plugin.Glypher.WeatherIcons | Íconos del clima | Sí | Sí |
| Androide | iOS |
|---|---|
![]() | ![]() |
En Visual Studio, confirme que Sourcelink está habilitado. Además, apague "solo mi código" ya que, bueno, este no es su código.
https://docs.microsoft.com/en-us/dotnet/standard/library-guidance/sourcelink
Las contribuciones son bienvenidas. Siéntase libre de presentar problemas y extraer solicitudes en el repositorio y serán revisados según lo permita el tiempo.
Gracias por los íconos de Yannick Lung, Stephen Hutchings