Articles in the Silverlight Category
Interview Questions, Silverlight »
Q. What is Silverlight Tool Kit?
Ans: To create an application or game you need to design, code and give some extra feature to your output.
To do the above, you need some controls, IDE etc.
Silverlight Tool kit is nothing but is a collection of Silverlight Tools, Components etc. It includes source code describing the all you need to develop an application.
Please visit this link for more info:http://www.codeplex.com/Silverlight
Q. Can I add more than one .xaml pages in silverlight application?
Ans: Yes, you can have multiple .xaml files in a single project.
In the App.xaml, …
Silverlight »
Silverlight Input Controls:
For any UI the Input Controls and very essential and important. Lets discuss some input controls:
Button and TextBox– Buttons are simple button to submit, With the Content property you can assign the text it to check the following code:
<UserControl x:Class=”myFirstSilverlightApp.TestControl”
xmlns=”http://schemas.microsoft.com/winfx/2006/xaml/presentation”
xmlns:x=”http://schemas.microsoft.com/winfx/2006/xaml”
Width=”650″ Height=”300″>
<Grid x:Name=”LayoutRoot” Background=”White”>
<Button x:Name=”btnSubmit” Click=”btnSubmit_Click”
Content=”Submit” Height=”30″ Width=”75″
…
Silverlight »
Layout Controls
All layout controls derive from the basic abstract class Panel.
It is clear from the name these controls define the layout. Silverlight2 proides several Layout Controls like :
Canvas – Its nothing but just similar to <div> tag of html. It exists from the first version of Silverlight and is a very basic Layout Control. It provides the basic facility to set the child elements using Canvas.Top, Canvas.Left properties.
Simple Canvas:
We can directly use the Layout control without specifying any other additional tasks:
<UserControl x:Class=”myFirstSilverlightApp.TestControl”
xmlns=”http://schemas.microsoft.com/winfx/2006/xaml/presentation”
xmlns:x=”http://schemas.microsoft.com/winfx/2006/xaml”
…
