in my application in am using specific font and i am notice that in other machines that running my application this font is missing and in this case my application using different font (maybe default one ) so i wonder how to add this specific font to my application.
Edit
After try this solution:
Declate Style:
<Style x:Key="MyFont">
<Setter Property="TextElement.FontFamily" Value="Resources/#BuxtonSketch.ttf" />
</Style>
BuxtonSketch.ttf locate in my resources folder, and inside my label:
<Label Content="Test" FontSize="35" Style="{StaticResource MyFont}"/>
My label gets different font, did i miss something ?
i also try:
<Style x:Key="MyFont" TargetType="Label">
<Setter Property="FontFamily" Value="Resources/#BuxtonSketch.ttf" />
</Style>