BT

Silverlight 2 Beta Controls Source Code Available for Download

| by Abel Avram Follow 12 Followers on May 06, 2008. Estimated reading time: 1 minute |

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

Adoption Stage
Style

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.

Tell us what you think

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

Email me replies to any of my messages in this thread
Community comments

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

Email me replies to any of my messages in this thread

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

Email me replies to any of my messages in this thread

Discuss
BT