Microsoft Download Center Archive

Sample Source Code for Silverlight 2 Runtime and SDK Controls

  • Published:
  • Version: 2
  • Category: Tool
  • Language: English

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.

  • NOTICE: This application is governed by the Microsoft Public License (Ms-PL). By clicking 'Download' you acknowledge and accept the terms of the Ms-PL see: http://go.microsoft.com/fwlink/?LinkID=131993. If you do not accept these terms, do not download or use the application.

    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.

    The Silverlight 2 controls provide common user-interface and data-presentation functionality. These controls also support a rich styling and templating model, which enables you to alter the appearance and behavior of the controls. The styling and templating model uses XAML as an interchange format, which enables you to perform extensive customization using tools such as Microsoft Visual Studio or Microsoft Expression Blend.

    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

    For more information about Silverlight 2 Developer Resources, visit Silverlight.net.

Files

Status: Live

This download is still available on microsoft.com. The downloads below will come directly from the Microsoft Download Center.

FileSize
Silverlight 2 Control Sample Source Code and Apps.exe
SHA1: 43d9df3bd0afc6f8cb1af56bae8ba01c3090939f
788 KB

File sizes and hashes are retrieved from the Wayback Machine’s indexes. They may not match the latest versions of files hosted on Microsoft servers.

System Requirements

Operating Systems: Windows Vista, Windows XP Service Pack 2

  • Microsoft Visual Studio® 2008
    Microsoft Silverlight 2 Beta 1
    Microsoft Silverlight 2 SDK Beta 1
    Microsoft Silverlight Tools Beta 1 for Visual Studio 2008

Installation Instructions

  • To download the source code and unit tests for Silverlight 2 Controls:
    1. In the Files in this Download section at the bottom of this page, click the file that contains download that you want.

    2. Do one of the following:

      • To start the extraction immediately, click Open or Run this program from its current location and specify an extraction location on your computer.

      • To copy the download to your computer for extraction at a later time, click Save or Save this program to disk and specify a location to save the .zip file on your computer.
    3. After the files are extracted, read the instructions provided in the package.