Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ


Choose your language

InfoQ Homepage News Silverlight 2 Beta Controls Source Code Available for Download

Silverlight 2 Beta Controls Source Code Available for Download

This item in japanese

Microsoft has made available the source code and unit tests for Silverlight 2 Beta controls included in System.Windows.Controls.dll, System.Windows.Controls.Extended.dll, and System.Windows.Controls.Data.dll. Their unit tests are located in their respective Test subdirectories, and they are using the Microsoft.Silverlight.Testing.dll assembly.

According to Microsoft:

The Silverlight 2 Beta 1 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.

The source code of the Silverlight controls is not necessary to develop Silverlight applications, but to be used as a reference in developing other controls. The thousands of unit tests provided complete the source code making it very useful in creating controls with the desired look and behavior. To develop Silverlight-based applications, the Silverlight 2 SDK Beta is to be used, and the Silverlight browser plug-in is needed to run such applications.

The following controls are included in the package:

  • Button
  • ButtonBase
  • Calendar
  • CheckBox
  • ContentControl
  • DataGrid
  • DatePicker
  • GridSplitter
  • HyperlinkButton
  • ListBox
  • RadioButton
  • RangeBase
  • RepeatButton
  • ScrollViewer
  • Slider
  • ToogleButton
  • ToolTip
  • WatermarkedTextBox

The Silverlight 2 Beta controls source code is supported on Windows Vista and Windows XP SP2. The following applications are needed to develop Silverlight-based applications: Microsoft Visual Studio® 2008, Microsoft Silverlight 2 Beta 1, Microsoft Silverlight 2 SDK Beta 1, Microsoft Silverlight Tools Beta 1 for Visual Studio 2008.

Rate this Article