#Xamonday Show: Platform-specific font size at no cost

Sign in to queue

Description

In some cases you want to assign a different font size to controls based on the specific operating system's styles, avoiding hard-coded values. Through the Device class, Xamarin.Forms makes this possible at no cost. Learn how in this video!

Tag:

Xamarin

Embed

Download

Download this episode

The Discussion

  • User profile image
    pranavaa

    Simple yet useful. Thanks for posting.

  • User profile image
    Kamal

    It's working and very useful but it's effected on font-family.After implementation font-family not working

  • User profile image
    Kamal

    Resolved ,if code applied on page load after InitializeComponent();

Add Your 2 Cents