Chapter 12. Browsing Desktop Images with WPF

One of the exciting features of a WPF application is its ability to interact directly with the desktop. Silverlight applications have limited access to local resources, but WPF applications can read and write files to a user’s computer. In this chapter, you’ll build an image browser as a WPF application.

Creating the Layout

The image browser built in this chapter is shown in Figure 12.1. It allows you to pick a folder (or directory) on your local system and view any images there.

The final image browser.

Figure 12.1. The final image browser.

Procedure 12.1. To set up the project:

  1. Open Blend and choose New Project from the Startup ...

Get Microsoft Expression Blend 2 for Windows: Visual QuickStart Guide 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.