December 2012
Intermediate to advanced
488 pages
10h 23m
English
The last piece of the puzzle is the WPF window itself, which we are calling, in MVVM parlance, the view. Add a WPF User Control file called InstallView to the Views folder. We will need to change the file to use the Window element instead of the UserControl element. Replace the markup in the InstallView.xaml file with the following code:
<Window x:Class="CustomBA.Views.InstallView" 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"> <Window.Resources> <Style TargetType="{x:Type ...Read now
Unlock full access