© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
1 reply
max

✅ Can't use external font in resourcedictionary?

hey i have a resourcedictionary that defines a style for a button, and in that resourcedictionary i have a textblock that i wanna use an external font with. i imported the font in my app.xaml and it works fine everywhere else, but if i try to use it in the resourcedictionary i get thrown the error "cannot find resource named <fontname>. resource names are case-sensitive." does anyone have any idea how to fix this?
image.png
image.png
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

✅ How to use ResourceDictionary in the App.xaml?
C#CC# / help
8mo ago
WPF Fonts in a ResourceDictionary
C#CC# / help
2y ago
Can't use | operator in case?
C#CC# / help
2y ago
Cannot use AvalonDock Metro theme for ResourceDictionary after upgraded to .net5
C#CC# / help
2y ago