Is there a way to “extract” WPF controls of Expression Blend?

允我心安 提交于 2019-12-05 05:06:16

问题


I am not sure if the WPF controls that make up Expression Blend's UI is packaged in the application in a usable way, like separate assemblies, etc. But if they aren't, is there a way to "extract" these controls so you can have the same controls in your app with the same look and functionality?


回答1:


You can look in your install folder for blend under Program Files or Program Files (x86) and there will be style directories with the appropriate resources, I believe.

Otherwise you can use Snoop to look at WPF application structure and get what you need http://snoopwpf.codeplex.com/

Or a tool like DumpControlTemplate to pull it out of Blend, I know a few people that have done this.

http://www.simple-talk.com/content/print.aspx?article=1032




回答2:


Make sure that when you find a way that it is legal.



来源:https://stackoverflow.com/questions/5356024/is-there-a-way-to-extract-wpf-controls-of-expression-blend

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!