Skip to content

This is the code respository for the book, Mastering Windows Presentation Foundation, published by Packt

License

Notifications You must be signed in to change notification settings

PacktPublishing/Mastering-Windows-Presentation-Foundation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Mastering Windows Presentation Foundation This is the code repository for Mastering Windows Presentation Foundation, published by Packt. It contains all the supporting project files necessary to work through the book from start to finish.

About the Book

Windows Presentation Foundation is rich in possibilities when it comes to delivering an excellent user experience. This book will show you how to build professional-grade applications that look great and work smoothly.

##Instructions and Navigation This code bundle represents all of the main coding classes that were introduced in the Mastering Windows Presentation Foundation book.

The folder structure follows the two folder structure diagrams in chapter 1, A Smarter Way of Working with WPF.

The main View can be changed in the CompanyName.ApplicationName.ViewModels.MainWindowViewModel.cs class and is currently set to the TextViewModel class, which displays the TextView class:

public MainWindowViewModel() : base()
{
    ViewModel = new TextViewModel(); <---
}

Please note that this is NOT a demonstration application, but instead it represents a basic application framework that you can build your future WPF applications upon, with added examples from the book.

Also note that there are some classes here that represent different stages of development, or examples from the book. For example, you will find various Product classes and each will have matching ProductView and ProductViewModel classes that demonstrate the various ways to validate, as shown in the book.

Likewise, you'll also find two versions of the CompanyName.ApplicationName.Views.Panels.AnimatedStackPanel.cs class that follow the examples in the book.

Please build the Solution before attempting to run it.

The code will look like the following:

public string Name
{
get { return name; }
set
{
  if (name != value)
  {
    name = value;
    NotifyPropertyChanged("Name");
    }
  }
}

As with all WPF development, you'll need to have the .NET Framework and a version of Microsoft's Visual Studio integrated development environment software installed on your computer. You'll be able to use versions as old as 2010, but in order to use the code in the book that takes advantage of the latest .NET Framework improvements, you'll need to use one of the newer versions. Note that any edition of Visual Studio can be used, from the top of the line Enterprise edition to the free Community (2015) edition.

##Related Products

###Suggestions and Feedback Click here if you have any feedback or suggestions.

Download a free PDF

If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost.
Simply click on the link to claim your free PDF.

https://packt.link/free-ebook/9781785883002

About

This is the code respository for the book, Mastering Windows Presentation Foundation, published by Packt

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages