Creating XBAP: WPF Browser Application

 
Step: 1 Create a new project and save path to a designated folder than default as shown below

You may skip the above as hello world is a simple web page

Throw some stuff and the code will look like after quick editing

Handling is easy, Like Power Point

Corresponding XAML Scriptures

Feeling Lazy ? Copy /Paste the codes, at your grace and risk

Page1.xaml

<Page x:Class="mmWpfBrowserApp1.Page1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
mc:Ignorable="d"
d:DesignHeight="300" d:DesignWidth="300"
Title="Page1">
<Grid>
<Label Content="Label" Height="28" HorizontalAlignment="Left"
Margin="68,157,0,0" Name="label1" VerticalAlignment="Top"
Width="120" />
<Rectangle Height="116" HorizontalAlignment="Left" Margin="49,35,0,0"
Name="rectangle1" Stroke="Black" VerticalAlignment="Top"
Width="170">
<Rectangle.Fill>
<RadialGradientBrush>
<GradientStop Color="#FF093838" Offset="0.525" />
<GradientStop Color="White" Offset="1" />
</RadialGradientBrush>
</Rectangle.Fill>
</Rectangle>
</Grid>
</Page>
 

 

Step: 3 Runtime View

Can be stopped from the application or closing the browser will unload the application\

Step: Publish your applications