Trouble referencing a Resource Dictionary that contains a Merged Dictionary

前端 未结 5 604
野性不改
野性不改 2020-11-27 14:41

I have a library, CommonLibraryWpfThemes, with several Resource Dictionary XAML files in it. My Themes/Generic.xml file contains a ResourceDictionary.MergedDictionaries decl

5条回答
  •  自闭症患者
    2020-11-27 15:01

    Check your constructor in App.xaml.cs calls InitializeComponent() - this is what merges the resource dictionaries...

提交回复
热议问题