4.0里面不支持Generic.xaml里面

  <ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="/test;component/Themes/Generic/ListBox.xaml" />
<ResourceDictionary Source="/test;component/Themes/Generic/Border.xaml" />
</ResourceDictionary.MergedDictionaries>

嵌套style

4.5里面可以使用。

可以在app.xaml

<Application x:Class="MCE.Gems.Shell.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<<ResourceDictionary Source="/test;component/Themes/Generic.xaml" /> </ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Application.Resources>
</Application>

最新文章

  1. iOS UITableView 与 UITableViewController
  2. CozyRSS开发记录18-番外之Atom1.0的支持
  3. CSS3 media queries + jQuery实现响应式导航
  4. Create a “% Complete” Progress Bar with JS Link in SharePoint 2013
  5. Redhat系列Linux的基础命令
  6. 用Eclipse编写运行Java程序
  7. C/C++:拷贝构造函数
  8. libvirt基于安装
  9. 求数列的和 AC 杭电
  10. java打印菱形的简单方法
  11. &lt;jsp:directive.page&gt;标签
  12. XCode 6 出现 no identity found: Command /usr/bin/codesign failed with exit code 1 解决方法汇总
  13. python2.7学习记录之二
  14. java基础知识4--数组的常用方法(Array)
  15. sqoop的导入导出
  16. CSDN没有审核投诉的真实性直接删除博主上传的资源
  17. Linux关机总结
  18. [LeetCode&amp;Python] Problem 594. Longest Harmonious Subsequence
  19. LINUX学习 - 磁盘分区 + 开机自动挂载 + 性能测试
  20. 其他类想使用unittest的断言方法,就import unittest的框架,继承他,使用他里面的方法

热门文章

  1. question2answer论坛框架分析及web开发思考
  2. UrlEncoder url编码
  3. Enum:Fliptile(POJ 3279)
  4. code vs 1026 逃跑的拉尔夫
  5. eclipse修改jdk后版本冲突问题
  6. JS图表插件(柱形图、饼状图、折线图)
  7. delphi 控件大全(确实很全)
  8. SQL语句题库
  9. oracle 监控
  10. iOS中常见的一些宏