WHAT IS MAINPAGE.XAML?

AVADHESH PATEL

Total Post:257

Points:1285
Posted by  AVADHESH PATEL
WPF 
WPF
 2111  View(s)
Ratings:
Rate this:
  1. AVADHESH PATEL

    Post:257

    Points:1285
    What is MainPage.xaml?

    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:
    Collapse

    <UserControl x:Class="SilverlightApplication1.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Width="400" Height="300">
    <Grid x:Name="LayoutRoot" Background="White">
    </Grid>
    </UserControl>

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!