Presentation tier foundation
Let's start things off by creating the visual layout of our application by following these steps:
- Start a new Visual Studio instance.
- Create a new WPF application project called
Northwind.UI.WPF
, and name the solutionNorthwind
. - Add a folder to
Northwind.UI.WPF
calledSkins
, and add a newResource Dictionary (WPF)
file to that folder calledMainSkin.xaml
. - Open
MainWindow.xaml
for editing and update it as follows:<Window x:Class="Northwind.UI.WPF.MainWindow" xmlns="http://schemas.microsoft.com/winfx/ 2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="MainWindow" MinHeight="350" MinWidth="525" xmlns:ViewModel="clr-namespace:Northwind.ViewModel; assembly=Northwind.ViewModel" DataContext="{Binding ...
Get MVVM Survival Guide for Enterprise Architectures in Silverlight and WPF now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.