What is the parent xaml tag of Silverlight page?

What is the parent xaml tag of Silverlight page? Explain its purposes

The’UserConrol’ is the parent xaml tag of a Silverlight page. All other tags are authored under UserControl tag. Developers are given a facility to implement new custom controls and create re-usable user controls. This makes the use of XAML file easy for composing a control’s UI and easy to implement.

The following code snippet resembles the UserControl tag.
<UserControl x:Class="SilverlightApplication2.MainPage" Width="400" Height="300">
<Grid x:Name="LayoutRoot" Background="Green">
</Grid>
</UserControl>
How to change the default page of the Silverlight?
The RootVisual property of Application_Startup event in App.xaml file needs to be set to change the default Silverlight application page. The following code snippet sets the property...
xaml files - Silverlight
xaml files - There are two xaml files are created when a new project in Silverlight is created through Visual Studio...
Backend of the Silverlight application
Visual Basic or Visual C# can be used for authoring code for the backend of the Silverlight application...
Post your comment