XAML, its purpose in wpf is to create user interfaces which arranges the position of buttons, panels and controls etc. the designers and the developers can work together effectively on a same project because of it.
1. An application has an App.xaml:
- <Application x:Class="WpfApplication1.App"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- StartupUri="Welcome.xaml">
- <Application.Resources>
- </Application.Resources>
- </Application>
The StartupUri defines the first window to be opened, <Application.Resources>tag defines