Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Using the custom font in our XAML page
<?xml version="1.0" encoding="utf-8"?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:local="clr-namespace:CustomFontsSample"
x:Class="CustomFontsSample.CustomFontsSamplePage"
Title="Custom Fonts">
<Label Text="Welcome to Xamarin Forms!" FontFamily="ComicSansMS" VerticalOptions="Center" HorizontalOptions="Center">
</ContentPage>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment