1.WPF默认主题路径: Thems/Generic.Xaml;
2.若要添加自定义资源文件,需在App.Xaml中添加:
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="pack://siteOfOrigin:,,,/demo.xaml"/>
<ResourceDictionary Source="pack:applicatiom:,,,/demo.xaml"/>
<ResourceDictionary Source="demoxaml"/>
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Application.Resources>
3.wpf 中的Pack Url: