Silverlight 2: Download the source, unit tests and unit test framework

Posted 5 March 2008  

The download is now live for the Silverlight 2 controls source code package.  The controls are included in the Silverlight 2 SDK, but if you're a control developer, interested to learn more about how we implemented our controls, this will serve as a great reference.  There's also around 2,000 unit tests that target the core controls, extended controls, and even the DataGrid! I'll be posting a lot more great information about this in the coming weeks, but wanted to get the link out there! The source code for the Silverlight 2 Beta 1 controls includes implementations for the following controls:
  • Button
  • ButtonBase
  • Calendar
  • CheckBox
  • ContentControl
  • DataGrid
  • DatePicker
  • GridSplitter
  • HyperlinkButton
  • ListBox
  • RadioButton
  • RangeBase
  • RepeatButton
  • ScrollViewer
  • Slider
  • ToogleButton
  • ToolTip
  • WatermarkedTextBox
Unit tests for the controls are located in respective ‘Test’ subdirectories, which use Microsoft.Silverlight.Testing.dll and related test framework binaries located in the ‘Bin’ directory. For more information about Silverlight 2 Beta 1, see the Silverlight 2 SDK Beta 1. To get the Silverlight 2 Beta 1 browser plug-in, go to this page.

Jeff Wilcox is a Principal Software Engineer at Microsoft on the Azure team.

Jeff has been at Microsoft since 2005 and holds a Bachelor of Science from the University of Michigan. Jeff lives in downtown Seattle.

comments powered by Disqus