原文地址:http://www.sellsbrothers.com/tools/#ShowMeTheTemplate

这是别人写的一个小工具,通过它我们可以查看到WPF中的一些控件的内部定义的Template,并且内嵌了六种WPF中的Theme,通过选择不同的Theme,我们会发现控件的Template在不同的Theme下有些什么不同。

个人感觉这个工具非常的强大,而且实现过程也很值得学习。

下载

 

2011-09-08 下面是自己写的一个例子:

https://files.cnblogs.com/bear831204/GetStyleAndTemplate.zip

附加一个类似的例子,为visual studio实现了一个wpf designer extensibility:

http://www.eggheadcafe.com/tutorials/aspnet/d1ad0a33-d815-4083-8e97-c234fd661095/wpf-controls-default-style-or-template-by-extending-the-wpf-designer-in-visual-studio-2010.aspx

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-27
  • 2022-01-13
  • 2022-12-23
猜你喜欢
  • 2021-08-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-06
  • 2022-12-23
相关资源
相似解决方案