Page.xaml
•Page.xaml and Page.xaml.cs – Contains the UI and the C# code to run the Silverlight application.
•When you create a Silverlight project using Visual Studio 2008, it creates a default xaml file called "Page.xaml".
•This is just a dummy start page created by Visual Studio and it does not contain any visible UI elements
The default content of the page.xaml file
•(UserControl x:Class="MySilverlightApp.Page"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)
•All UI elements in a .xaml control must be placed within a layout panel.
•The most important file to look at right now would be the Page.xaml file because this is the file that will be used to define the user interface of the application.
•Page.xaml is like the core of a Silverlight-Blend project/solution.
•When you create a Silverlight project using Visual Studio 2008, it creates a default xaml file called "Page.xaml".
•This is just a dummy start page created by Visual Studio and it does not contain any visible UI elements
The default content of the page.xaml file
•(UserControl x:Class="MySilverlightApp.Page"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)
•All UI elements in a .xaml control must be placed within a layout panel.
•The most important file to look at right now would be the Page.xaml file because this is the file that will be used to define the user interface of the application.
•Page.xaml is like the core of a Silverlight-Blend project/solution.
Comments
Post a Comment