REVIEW

Book Review: Pro WPF in C# 2008 - Windows Presentation Foundation With .NET 3.5, Second Edition by Matthew McDonald

Written by T. Michael Testi
Published April 25, 2008

When .NET first appeared it brought with it, among other things, Windows Forms: a library of classes for building Windows applications. Although it worked well enough, it was built on a foundation that was ten years old. We are now more than five years past that and Windows Presentation Foundation (WPF) finally brings a new model that contains totally new plumbing and many more powerful features.

Pro WPF in C# 2008: Windows Presentation Foundation With .NET 3.5, Second Edition is an in depth exploration of WPF for professional developers who know the .NET platform, the C# language (there is a separate Visual Basic Version of this book available as well), and the Visual Studio environment. It is 1040 pages in length and divided into 27 chapters.

The first two chapters bring an introduction to what Windows Graphics are, and the new direction that WPF has taken with DirectX and the new graphics engine. Then, you take a look at the WPF API, the evolution of WPF, and the Architecture of WPF. Next, you will learn about XAML; which is the eXtensible Application Markup Language (pronounced "zammel"), and how it works with WPF, its properties and events, and how to load and compile XAML.

Chapters 3 to 9 focus around the building blocks of your application. These include the layout, content, properties, classic controls, and the windows of your project. You will begin by seeing how an application is built, the layout process, the containers, and how they are used. Then you will work with properties and events. Next you will delve into the control class and the windows class and finally finish up with seeing how pages are put together and work with the navigation service.

Chapters 10 and 11 examine commands and resources. Commands are tasks that have been defined to connect to controls to eliminate the writing of repetitive event handling code to manage the state of your interface. Resources are effectively items that your applications need to run. They can be assembly resources such as an image or sound file, or they can be an object resource that is defined in code.

Chapters 12 to 15 cover design aspects of your application. First you will get into styles which are a collection of property values that can be applied to an element. Then you will start with simple 2D graphics that will show you how to draw basic shapes which can be assembled into more complex graphics. Next, you will extend those skills with new concepts such as modeling arcs and curves, as well as converting existing vector art into the XAML format. And finally you will work with control templates that will let you customize controls without having to build controls from scratch.

page 1 | 2
T. Michael Testi is a photographer, writer, software developer and ardent fan of fantasy football and horse race handicapping. He also blogs at PhotographyTodayNet and at All This and Everything Else.
Keep reading for information and comments on this article, and add some feedback of your own!
Book Review: Pro WPF in C# 2008 - Windows Presentation Foundation With .NET 3.5, Second Edition by Matthew McDonald
Published: April 25, 2008
Type: Review
Section: Books
Filed Under: Books: Computers and Internet, Review, Sci/Tech: Computers, Sci/Tech: Programming, Sci/Tech: Software
Part of a feature: The RAM Review
Writer: T. Michael Testi
T. Michael Testi's BC Writer page
T. Michael Testi's personal site
Spread the Word
Like this article?
Email this
Submit to del.icio.us Save to del.icio.us
RSS Feeds
All RSS Feeds (240+)
Comments on this article
Articles in this series
BC articles by T. Michael Testi
Books: Computers and Internet
Review
Sci/Tech: Computers
Sci/Tech: Programming
Sci/Tech: Software
All Books Articles
All Review articles
All BC articles
All BC Comments

Comments

Want comments emailed to you? No spam, promise! Address:

Add your comment, speak your mind

(Or ping: http://blogcritics.org/mt/tb/76135)

Personal attacks are not allowed. Please read our comment policy.





Remember Name/URL?

Please preview your comment!

Fresh
Articles
Fresh
Comments