Thursday, January 08, 2009

Want the source code and unit tests for the managed Silverlight 2 controls included in System.Windows.dll, System.Windows.Controls.dll, and System.Windows.Controls.Data.dll? Here you go…

Microsoft Downloads - Sample Source Code for Silverlight 2 Runtime and SDK Controls

“This download contains the source code and unit tests for the managed Silverlight 2 controls included in System.Windows.dll, System.Windows.Controls.dll, and System.Windows.Controls.Data.dll.

File Name: Silverlight 2 Control Sample Source Code and Apps.exe
Version: 2
Date Published: 1/7/2009
Language: English
Download Size: 881 KB


To develop Silverlight-based applications that use the Silverlight 2 controls, you do not need this source code. The source code for the Silverlight 2 controls enables you to learn the inner workings of the controls. This is useful if you want to extend the controls or use them as a reference implementation when you implement your own controls. Complete unit tests provide additional guidance in developing polished, professional controls.

The source code for the Silverlight 2 controls includes implementations for the following controls:

  • ButtonBase
  • Button
  • HyperlinkButton
  • CheckBox
  • RadioButton
  • CheckBox
  • ToogleButton
  • RepeatButton
  • RangeBase
  • Slider
  • ScrollBar
  • ProgressBar
  • Calendar
  • DataGrid
  • DatePicker
  • GridSplitter
  • TabControl

…”

The download is a self extracting zip file with a ton of source (C#) and tests. Just the thing to get the blood pumping on a Thursday… ;)

image

BTW, you’ll need the “Microsoft® Silverlight™ Tools for Visual Studio 2008 SP1” installed in order to open these projects/solutions (funny that… lol ;)

No comments: