HTML / XML
<Window.Resources>
<Style x:Key="MyCustomFont">
<Setter Property="TextElement.FontFamily" Value="fonts/#Arial Narrow Bold"/>
</Style>
</Window.Resources>. . .
. . .
Code
<TextBlock Style="{DynamicResource MyCustomFont}">Font Demo</TextBlock>That's it. It's real easy!


Join the conversation! Your thoughts help the community grow.