question

BenyaalaOussama-6336 avatar image
0 Votes"
BenyaalaOussama-6336 asked BenyaalaOussama-6336 answered

XamarinCommunityToolkit SnackBar with custom Font

Hi,

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

Thanks

dotnet-xamarinforms
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

BenyaalaOussama-6336 avatar image
0 Votes"
BenyaalaOussama-6336 answered

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

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.