Controls Supported in Silverlight 3 RTW

Posted by: Manish Sharma , on 8/1/2009, in Category Silverlight 2, 3, 4 and 5
Views: 31393
Abstract: When Silverlight 3 RTW was released, there were a couple of changes made from Silverlight 3 Beta. One of the main changes was the controls which were supported. There were some controls which were supported by the beta SDK but are not there in the RTW SDK (ex DataForm). So I thought of writing this article and list all the controls available inside Silverlight 3 RTW Runtime and SDK.
Controls Supported in Silverlight 3 RTW
 
When Silverlight 3 RTW was released, there were a couple of changes made from Silverlight 3 Beta. One of the main changes was the controls which were supported. There were some controls which were supported by the beta SDK but are not there in the RTW SDK (ex DataForm). So I thought of writing this article and list all the controls available inside Silverlight 3 RTW Runtime and SDK.
Silverlight 3 provides a rich set of controls and dialog boxes (total 43 of of this writing) which can be used to create Rich User Interfaces. Most of these controls and dialog boxes are available with Silverlight runtime but there are some controls which are the part of Silverlight SDK.
This documentation gives you list of controls available in Silverlight 3. There are many more controls available inside the Silverlight 3 Toolkit – July 2009 Release which is available on the Codeplex site, and it is increasing day by day. When you install the toolkit, you will get more controls in the toolbox.
So given below is the complete list of controls properly categorized to the best of my knowledge:
The list of controls available inside Silverlight 3 Runtime:
1.    Border
2.    Button
3.    Canvas
4.    CheckBox
5.    ComboBox
6.    ContentControl
7.    Grid
8.    HyperlinkButton
9.    Image
10.InkPresenter
11.ListBox
12.MediaElement
13.MultiScaleImage
14.OpenFileDialog
15.PasswordBox
16.Popup
17.ProgressBar
18.RadioButton
19.RepeatButton
20.SaveFileDialog
21.ScrollBar
22.ScrollViewer
23.Slider
24.StackPanel
25.TextBlock
26.TextBox
27.ToolTip
28.VirtualizingStackPanel
The above given controls can be directly used in the XAML code as follows:
<navigation:Page x:Class="SL3_Controls.Page1"
     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
     xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
     xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
     mc:Ignorable="d"
     xmlns:navigation="clr-namespace:System.Windows.Controls;                                         assembly=System.Windows.Controls.Navigation"
     d:DesignWidth="640" d:DesignHeight="480" Title="Page1 Page">
    <Grid x:Name="LayoutRoot">
        <Button x:Name="MyButton" Content="Click" Click="MyButton_Click"/>
    </Grid>
</navigation:Page>
The list of Controls available inside the Silverlight 3 SDK: The Silverlight 3 SDK has controls which are categorized under the following namespaces:
·         System.Windows.Controls
1.    Calendar
2.    ChildWindow
3.    DatePicker
4.    GridSplitter
5.    HeaderedItemsControl
6.    TabControl
7.    TreeView
 
·         System.Windows.Controls.Data
1.    DataGrid
2.    DataPager
 
·         System.Windows.Controls.Input
1.    AutoCompleteBox
 
·         System.Windows.Controls.Data.Input
1.    DescriptionViewer
2.    Label
3.    ValidationSummary
 
·         System.Windows.Controls.Navigation
1.    Frame
2.    Page
 
To use the controls from the SDK, you can do it in either of the two ways:
1.    Drag Drop the control from the toolbox onto your XAML page.
 
2.     Manually add the namespace in your XAML file and add the control, as follows:
<navigation:Page x:Class="SL3_Controls.Page1"
     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
     xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
     xmlns:mc="http://schemas.openxmlformats.org/markup-                                  compatibility/2006"
     xmlns:inp="clr-namespace:System.Windows.Controls;                                          assembly=System.Windows.Controls.Data.Input"     
     mc:Ignorable="d"
     xmlns:navigation="clr-namespace:System.Windows.Controls;                             assembly=System.Windows.Controls.Navigation"
     d:DesignWidth="640" d:DesignHeight="480" Title="Page1 Page">
    <Grid x:Name="LayoutRoot">
        <inp:Label x:Name="MyLabel" Content="My Label" FontSize="12"                          FontWeight="Bold"/>
    </Grid>
</navigation:Page>
 
Conclusion
 
So in this article, we explored the controls which are given in Silverlight 3 SDK. I hope this article will help you in keeping track of the controls given in the Silverlight 3 SDK.
Manish Sharma, PGDCA, MCA, is a Freelance consultant. Manish has over 8+ years of experience in IT education and development. He is a Microsoft Certified Trainer (MCT) and has conducted various Public Batches & Corporate Training programs in all .NET Technologies.

This article has been editorially reviewed by Suprotim Agarwal.

Absolutely Awesome Book on C# and .NET

C# and .NET have been around for a very long time, but their constant growth means there’s always more to learn.

We at DotNetCurry are very excited to announce The Absolutely Awesome Book on C# and .NET. This is a 500 pages concise technical eBook available in PDF, ePub (iPad), and Mobi (Kindle).

Organized around concepts, this Book aims to provide a concise, yet solid foundation in C# and .NET, covering C# 6.0, C# 7.0 and .NET Core, with chapters on the latest .NET Core 3.0, .NET Standard and C# 8.0 (final release) too. Use these concepts to deepen your existing knowledge of C# and .NET, to have a solid grasp of the latest in C# and .NET OR to crack your next .NET Interview.

Click here to Explore the Table of Contents or Download Sample Chapters!

What Others Are Reading!
Was this article worth reading? Share it with fellow developers too. Thanks!
Share on LinkedIn
Share on Google+

Author
Author bio not available


Page copy protected against web site content infringement 	by Copyscape




Feedback - Leave us some adulation, criticism and everything in between!
Comment posted by Saket Karnik on Saturday, August 1, 2009 4:59 AM
Gr8 information shared.
Comment posted by Saket Karnik on Saturday, August 1, 2009 5:00 AM
Gr8 information shared.
Comment posted by Jyoti Ghadge on Monday, August 3, 2009 5:02 AM
Gr8 article Manish.
Comment posted by mumbare on Wednesday, March 16, 2011 11:40 AM
Plz Send me if u have more notes of silverlight (pdf/doc) my mail id at mumbares3@yahoo.co.in
Comment posted by mumbare on Saturday, March 19, 2011 10:40 AM
Plz Send me if u have more notes of silverlight (pdf/doc) my mail id at mumbares3@yahoo.co.in