Wpf Font Style Not Working in RunTime and don't show correct view of my font in Design Time
问题 I using a separate project for my styles a and i have some line of codes like this in it: <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" > <Style x:Key="NazaninFont" TargetType="Control"> <Setter Property="FontFamily" Value="pack://application:,,,/Extra/Fonts/#IRNazanin"/> </Style> ...... </ResourceDictionary> My another styles (like control effects and...) work well when i use my style key in the