- Series: Developer Reference
- Hardcover: 1020 pages
- Publisher: Microsoft Press; 1 edition (September 13, 2006)
- Language: English
- ISBN-10: 9780735619579
- ISBN-13: 978-0735619579
- ASIN: 0735619573
- Product Dimensions: 7.6 x 1.9 x 9.2 inches
- Shipping Weight: 3.6 pounds (View shipping rates and policies)
- Average Customer Review: 55 customer reviews
- Amazon Best Sellers Rank: #1,502,666 in Books (See Top 100 in Books)
Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter your mobile phone number.
Applications = Code + Markup: A Guide to the Microsoft Windows Presentation Foundation (Developer Reference) Hardcover – September 13, 2006
Frequently bought together
Customers who bought this item also bought
From the Publisher
Key Book Benefits:
- Delivers UI information in digestible chapters (often fewer than five pages) with plentiful code samples
- Provides the classic Petzold Windows UI treatment, adapted for the capabilities of WPF, Windows Vista, and the latest hardware
- Features information about both XAML (difficult but sometimes richer) and C# (familiar, powerful) development for WPF
About the Author
Charles Petzold has been writing about programming for Windows-based operating systems for 24 years. A Microsoft MVP for Client Application Development and a Windows Pioneer Award winner, Petzold is author of the classic Programming Windows, currently in its fifth edition and one of the best-known programming books of all time; the widely acclaimed Code: The Hidden Language of Computer Hardware and Software; and more than a dozen other books.
Read reviews that mention
Showing 1-5 of 55 reviews
There was a problem filtering reviews right now. Please try again later.
When I read that, I knew that I was finally holding the right book. Strip away the XAML magic and the autogenerated code files. See how the application is actually built. Understand how the UI elements are derived, rather than just dragging an icon from the toolbox. Later when I put the XAML back in, there will be mental hooks to hang it on.
Used hardcopy editions of this book are a bargain. Get your hands on one while you still can.
This is my very favorite. I read it early when it first came out.
The code examples are awesome.
The fact that this book introduces the topic using lots of code only (no XAML) examples turned out to be more of a plus than I ever imagined. Here's why: Microsoft now has a functional programming (FP) language called F#. F# doesn't yet have any GUI designers for WPF. I had a choice: I could use a mixed language approach using C# projects to create XAML, and F# projects for "engine" type code. Or, I could do everything in pure code using F# alone. I opted for the latter, and I'm glad I did.
The code-centric background I got in WPF from this book prepared me well for this. I found that I could do things in pure code combined with FP techniques that I couldn't do using a XAML + code approach. For instance, when you create WPF widgets in code, you can see all kinds of other code elements through scope (without needing annotations within XAML, and other mechanisms). You can also leverage this (to some extent) in C# by using lambdas, since lambdas can see parental scope (thus obviating the need to pass parameters).
As a result of this, I find that I can be much more productive and succinct using a code only approach: it seems much easier, faster, and more natural to me.
When it comes to decoupling a GUI from "code behind" (a la the MVVM pattern), perhaps binding isn't the only way. Perhaps ADTs (abstract data structures) are another approach that can be leveraged (and FP languages offer greater abilities to create ADTs than conventional languages do).
In addition, I find that Charles really "gets it". He deeply understands the subject matter and can impart it to readers.
For these reasons this book is my favorite WPF book. It's also the most useful, the most helpful, and the most interesting WPF book in my tool chest.
Has anyone else seen this problem? I also see the same thing on the PC reader as well. I've emailed the author, but have not heard back yet.
I've now gone through the first 3 chapters in the book, and I must say I do like Petzold's style of writing. I have another WPF book which goes into a lot of theory from the start. I'm a nuts and bolts kind of person, so having code examples first with explanations is the best way for me to learn. Once I'm comfortable with the technology, then I can go into the theory deeper. I think Petzold strikes a good balance.
There has been a lot of criticism about no pictures in the book. This doesn't really bother me, since Petzold has said he wants the reader to go through and try the examples. Why fill up excess pages with images you can see on your computer monitor if you run the program?
So overall a good book, but the bad code formatting problem on the kindle detracts from a fine book.
Charles Petzold is know for really explaining what is going on, with a calibrated sequence of code examples.
It is best if you take your time reading this book, as you will miss a lot by speed reading it.
There are more modern WPF books, but this one gets the basics right.
So read this one first.