Forum Xamarin.Forms
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

FontFamily not working when using TextProperty binding

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

Best Answer

Answers

Sign In or Register to comment.