Silverlight2.0将具有更丰富的UI控制基于WPF,包括Layout(TextBox, CheckBox, RadioButton),control(Slider, ScrollViewer, Calendar, DatePicker),panel(StackPanel, Grid, Panel)以及数据控制控件,另外,还是RIA,丰富的控制机制,丰富的网络通讯支持,以及丰富的基础库支持。Silverlight2.0同样不需要.net framework的支持。Silverlight2.0的发布包大小为4.3M。
另外,有一个支持推荐的例子。一直用于Digg.com的前端控制例子,使用了LinQtoXml来获取数据。
![](https://i-blog.csdnimg.cn/blog_migrate/361274a96f72a824d14e4dfd2639f485.png)
![](https://i-blog.csdnimg.cn/blog_migrate/be873be4eff19ce2b3e1ba54796fef24.png)
下面是实例的链接
Part 1: Creating "Hello World" with Silverlight 2 and VS 2008 Part 2: Using Layout Management Part 3: Using Networking to Retrieve Data and Populate a DataGrid Part 4: Using Style Elements to Better Encapsulate Look and Feel Part 5: Using the ListBox and DataBinding to Display List Data Part 6: Using User Controls to Implement Master/Details Scenarios Part 7: Using Templates to Customize Control Look and Feel Part 8: Creating a Digg Desktop Version of our Application using WPF