WPF Photo Gallery by Adam Nathan


In his book WPF 4.5 Unleashed, Adam Nathan uses the example of a photo gallery application to illustrate several WPF features. He provides the code for the book as a download. In this post I will not be giving the entire code for that app, but I will trace through the chapters that have that app. Adam builds up the app gradually over a few chapters, adding features as he goes.

The first version of Adam’s Photo Gallery starts on page 193 of his book. This is chapter 7, Structuring and Deploying Applications, in the section called Navigation-Based Desktop Applications. In the downloadable code you get four different versions of Photo Gallery.

  • Loose XAML PhotoGallery
  • Navigation-Based PhotoGallery
  • Standard PhotoGallery
  • XBAP (Full Trust) PhotoGallery