简体   繁体   中英

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

我不确定组成Expression Blend UI的WPF控件是否以可用的方式打包在应用程序中,例如单独的程序集等。但是如果没有,是否有办法“提取”这些控件,以便您可以您的应用中具有相同的控件,外观和功能是否相同?

确保找到合法的方法。

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM