Developer Tools

    Sample Source Code for Silverlight 2 Runtime and SDK Controls

    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.
    • Version:

      2

      File Name:

      Silverlight 2 Control Sample Source Code and Apps.exe

      Date Published:

      1/7/2009

      File Size:

      881 KB

        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.
    • Supported Operating System

      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
      • 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.


    Popular downloads

    Loading your results, please wait...

    Free PC updates

    • Security patches
    • Software updates
    • Service packs
    • Hardware drivers

    Microsoft suggests

    Download free tools to build apps for Windows.
    Download free tools to build apps for Windows
    Develop apps that reach the entire family of Windows devices.
    Get started