Use custom fonts in xamarin forms

前端 未结 2 367
别那么骄傲
别那么骄傲 2021-01-25 08:08

I want to use custom font in xaml file in xamarinforms on the portable folder(not iOS and android) that get an output for all of this platform.

2条回答
  •  再見小時候
    2021-01-25 08:34

    If you don't want do implement this on your own, you can use the CustomFontEffect we added in the CommunityToolkit for Xamarin forms : https://github.com/FormsCommunityToolkit/FormsCommunityToolkit/tree/dev/src

    There is an example project added but overal usage is as follows:

    
    

提交回复
热议问题