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

Xamarin Forms: Custom Render Label Binding removing FontType

$
0
0

Hi everyone,

I'm facing a very weird situation with my custom rendered label after being binded, the FontType is just gone, and the default style appears. (Android)

My steps where:

  • Download any .ttf
  • Place it into the Asserts
  • Create a Label Custom Render using the .ttf (Android and PCL)
  • In the PCL create an object implementing Inotifypropertychanged
  • Bind my custom Label to X property of my object
  • Use Device.StartTimer to simulate a countdown
  • Watch how my custom label lose its font type after the first interval hits

Hope I was clear enough

Any Ideas?

Thanks in advance


Viewing all articles
Browse latest Browse all 89864

Trending Articles



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