top button
Flag Notify
Site Registration

What is MainPage.xaml?

+1 vote
What is MainPage.xaml?
posted May 14, 2015 by Karthi Kumar

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

When you create a Silverlight project using Visual Studio, it creates a default XAML file called "MainPage.xaml". This is just a dummy start page created by Visual Studio, and it does not contain any visible UI elements. The default contents of the MainPage.xaml file looks like this:

<UserControl x:Class="SilverlightApplication1.MainPage"
  Width="400" Height="300">
    <Grid x:Name="LayoutRoot" Background="White">
answer May 15, 2015 by Jdk