Category: UWP

You can use any True Type Font (.ttf) in your app relatively easily. Here’s how: Copy your ttf font file into the Assets folder Make sure the properties of the font file are: Build Action: Content Copy to Output Directory: Do not copy To use the font in your XAML file reference it like so: <TextBlock Text="My Custom Font" FontFamily="Assets/fontfilename.ttf#FontName"></TextBlock> To use the font in your VB Code set it like so: textBlock.FontFamily = New FontFamily("Assets/fontfilename.ttf#FontName") To get the FontName, right click on the .ttf file and select Properties -> Details. Use the Title as the FontName For example...

When using the Multilingual App Toolkit you use the X:Uid to get a value from the string resource. For Example: <TextBlock x:Uid="txtYourOrders" x:Name="txtYourOrders" TextAlignment="Center"></TextBlock> If you have txtYourOrders.Text in your string resource, it’s value will be used as the Text content for the TextBlock You can also reference resource names from your code behind like so: Imports Windows.ApplicationModel.Resources Private Shared _LANG_LOADER As New ResourceLoader() txtYourOrders.Text = _LANG_LOADER.GetString("txtYourOrders/Text") The important thing to note here is that instead of using a period (.) in the GetString call use a slash instead...