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

Silverlight 2 Beta Controls Source Code Available for Download


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.

We need your feedback

How might we improve InfoQ for you

Thank you for being an InfoQ reader.

Each year, we seek feedback from our readers to help us improve InfoQ. Would you mind spending 2 minutes to share your feedback in our short survey? Your feedback will directly help us continually evolve how we support you.

Take the Survey

Rate this Article


Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p


Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.