WPF Silverlight异同明细【推荐】

最近在使用wpf的过程中,明显的感觉到这两者之间的差别,毕竟是为不同的目标设计的。

因此使用过程中不可避免的遇到一些比较常见的问题,如:代码共享使用、控件差异等等。

今天看到这个白皮书“Programmatic Differences Between Silverlight and WPF”(http://wpfslguidance.codeplex.com/ ),内容非常详细,一个很好的参考资料。

主要内容如下:(详细内容可从http://wpfslguidance.codeplex.com/ 下载)

Similarities Between Silverlight and WPF  ............................................................................................5

Differences Between Silverlight and WPF ...........................................................................................9

WPF Specific Functionality ...............................................................................................................  44

Silverlight Specific Functionality .......................................................................................................  58

Code Reuse Strategies  ......................................................................................................................  63
User Controls ........................................................................................................................................ 63
Compiler Directives  ............................................................................................................................... 63
Linked Files ........................................................................................................................................... 64
Coding Scenarios  ................................................................................................................................... 65
Element-to-Element Binding  ............................................................................................................. 65
Multi-Data Binding  ............................................................................................................................ 67
Triggers / Visual State Manager  ........................................................................................................ 68
Fonts ................................................................................................................................................. 69

其中的代码公用策略提供了一些参考,通过该文章可以系统的了解WPF和silverlight的异同。

posted @ 2011-04-12 17:47  2012  阅读(451)  评论(0编辑  收藏  举报