I have a Label
with Font
set to an icons font (font awesome) which has the Text
bound like this:
<Label Text='{Binding Icon}'>
<Label.FontFamily>
<OnPlatform x:TypeArguments="x:String">
<OnPlatform.iOS></OnPlatform.iOS>
<OnPlatform.Android>icons.ttf#Icons</OnPlatform.Android>
</OnPlatform>
</Label.FontFamily>
</Label>
it doesn't render the icon, it renders the Unicode value 
instead.
It works if I set the text without binding, like this:
<Label Text=''>
I suspect there's some kind of race condition between setting the text and the font.
I need the binding, but I don't know any workarounds.
Return the escape sequence of \uf032
from your binding instead of instead of 
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With