kphillpotts/XDtoXF

Font Names should be declared in a resource and referenced from the style

kphillpotts opened this issue · 2 comments

As an example:

    <Style x:Key="TempLabel" TargetType="Label">
        <Setter Property="FontFamily" Value="**{StaticResource TextBold}" />**
        <Setter Property="FontSize" Value="38" />
        <Setter Property="TextColor" Value="#ffffff" />
    </Style>

Began work on this in https://github.com/Pepsi1x1/XDtoXF/tree/fontResources

Still needs some rework before creating a PR

Created PR #12 to implement this feature