Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

FontFamily not working when using TextProperty binding

$
0
0

I'm using my own font-family to display icons on xamarin forms. I'm having issues when I use text binding:

this works:
<Label FontFamily="{StaticResource ascendantIconFontFamily}" Text="&#xe901;"></Label>

This doesn't work:
<Label FontFamily="{StaticResource ascendantIconFontFamily}" Text="{Binding IconFontCode}"></Label>

Any idea?

Thanks


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>