XamarinCommunityToolkit SnackBar with custom Font

Benyaala, Oussama 1 Reputation point
2021-10-04T12:01:48.92+00:00

Hi,

How can I use custom Font with SnackBar. The font is exported using [assembly: ExportFont("MyFont.ttf", Alias = "MyFont")]

Thanks

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Benyaala, Oussama 1 Reputation point
    2021-10-04T12:19:24.897+00:00

    The solution i found is to use Font.OfSize("FontName", NamedSize. )

    0 comments No comments