assembly:ExportFont
[assembly:ExportFont("MyMeterialFile.ttf", Alias = "IconFont")]
<StackLayout VerticalOptions="CenterAndExpand"> <Image VerticalOptions="CenterAndExpand"> <Image.Source> <FontImageSource Color="Black" Size="88" Glyph="{x:Static local:IconFont.AccessPoint}" FontFamily="IconFont"></FontImageSource> </Image.Source> </Image> </StackLayout>
Quote:Font icons can only currently be specified by their unicode character representation.
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)