This item ships for FREE with
Super Saver Shipping

Used - Very Good | See details
Sold by jubileebooks.
 
   
Have one to sell? Sell yours here
Tell the Publisher!
I'd like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.
Sorry, this item is not available in
Image not available for
Color:
Image not available

To view this video download Flash Player

 

Applications = Code + Markup: A Guide to the Microsoft Windows Presentation Foundation (Pro - Developer) [Hardcover]

Charles Petzold
3.8 out of 5 stars  See all reviews (50 customer reviews)


Available from these sellers.


Formats

Amazon Price New from Used from
Hardcover, Bargain Price $24.00  
Hardcover, September 13, 2006 --  
Shop the new tech.book(store)
New! Introducing the tech.book(store), a hub for Software Developers and Architects, Networking Administrators, TPMs, and other technology professionals to find highly-rated and highly-relevant career resources. Shop books on programming and big data, or read this week's blog posts by authors and thought-leaders in the tech industry. > Shop now

Book Description

September 13, 2006 Pro - Developer

Get the definitive guide to the Windows Presentation Foundation (WPF), the new client programming interface for the Microsoft .NET Framework 3.0 and Windows Vista. Award-winning author Charles Petzold teaches you how to combine C# code and the Extensible Application Markup Language (XAML) to develop applications for the WPF. You’ll get expert guidance and hundreds of practical, hands-on examples—giving you the skills you need to exploit the new interface and graphics capabilities for Windows Vista.

Discover how to:

  • Create and enhance controls including menus, toolbars, tree views, and list views
  • Use dynamic layout to automate the positioning of controls and graphics
  • Work with dependency properties and routed input events
  • Use XAML resources, styles, and templates to alter the appearance of your UI
  • Use data binding techniques in XAML to help simplify and streamline your applications
  • Create and publish XAML Browser Applications
  • Develop visually-stunning UIs with interactive graphics, media, and animation

PLUS—Get code samples on the Web



Editorial Reviews

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.


Product Details

  • Hardcover: 1020 pages
  • Publisher: Microsoft Press; 1 edition (September 13, 2006)
  • Language: English
  • ISBN-10: 0735619573
  • ISBN-13: 978-0735619579
  • Product Dimensions: 7.7 x 1.9 x 9.3 inches
  • Shipping Weight: 3.6 pounds
  • Average Customer Review: 3.8 out of 5 stars  See all reviews (50 customer reviews)
  • Amazon Best Sellers Rank: #507,519 in Books (See Top 100 in Books)

More About the Author

Discover books, learn about writers, read author blogs, and more.

Customer Reviews

Most Helpful Customer Reviews
33 of 33 people found the following review helpful
5.0 out of 5 stars It May Not Be Pretty, But It's Pretty Good! January 19, 2008
By G. Mead
Format:Hardcover
This book seems to have had several negative reviews.
The gist of most people's complaints seem to be:

(a) "There's no XAML until Chapter 19" and/or

(b) "There aren't any pictures".

The Complaints - are they justified?

a. No XAML

People making this complaint have in my opinion totally missed the point for several reasons.

Firstly, this is not Charles Petzold's "How to Write XAML" book. It's a book whose title explicitly tells you that it will approach WPF from both the code (C#) and markup (XAML) perspectives. Unusually (actually I think it is uniquely) he doesn't mix and chop up the two approaches, but deals with each of them in isolation.

Secondly, WPF is not XAML. You can use XAML, sure. You'd be silly not to in many situations. But XAML is only one part of the big picture. As this book clearly shows, you can successfully create an awful lot of WPF output with code alone.

b. No Pictures

Normally I would have some sympathy with Complaint (b) because it's always nice to see what the code samples should produce. But if you use this book as the author intended and actually run the samples yourself you will gain far more than any quick glance at a screenshot would give you. You will gain insight and experience in how to master this new technology.

The Book

This is a book that very carefully works its way through the requirements needed for the reader to achieve a thorough understanding of the major concepts. One of the reasons why I recommend reading it - and using it - from cover to cover is that, even in the early basic chapters little gems of code and explanation are slipped into the narrative or the examples. Often these begin to deal with more complex topics that you will come on to in more detail later.

It is crammed full of detail. Mostly it's the kind of detail that you really need once you've got past the "let's play with WPF and see what you can knock out in a couple of hours" stage. The detail you need when you move on to the point where you want to do something that isn't necessarily easy out of the box, but is achievable if your understanding is built on stone, not sand.

If I have a complaint, it's a minor one: occasionally he lets the Math geek get out and play a bit more than strictly necessary, but even that is fairly rare.

The code samples are in C# only. However, Young Joo on the VB Team at Microsoft has organised for some chapters to be translated to VB.NET and there are more to come. You can access them from here: http://blogs.msdn.com/vbteam/archive/2008/01/07/petzold-wpf-book-sample-conversion-new-chapters-young-joo.aspx .

Summary

If you are committed to fully understanding WPF then this book is one you really should buy. By all means get others too. I already have several; they all serve their purpose, are very useful and I refer to them regularly. But when it comes right down to the "roll your sleeves up, go sit in a quiet place with book and PC to learn, really learn, WPF" then I think Charles Petzold has produced a (not so little) gem that will be truly helpful to you in your learning endeavours.
Comment | 
Was this review helpful to you?
16 of 16 people found the following review helpful
5.0 out of 5 stars The Other Side of WPF May 19, 2007
Format:Hardcover
I purchased this book late last year, took a vacation and spent a week reading it cover to cover. Since that time I've written several production WPF applications of moderate complexity that are several generations beyond the WinForms and WebForms apps I had been writting. Several months ago, when it was released, I also got to read Adam Nathan's book on the topic of WPF. Having read both books and used WPF to produce better apps under the usual deadlines, I can honestly say that I benefited from the additional insights gleaned from both books.

When I read Petzold's book and saw the code first approach with XAML introduced later, my impression was this seemed contrary to the preference to XAML I saw espoused in other sources and beta books. As I reconciled this new technology being taught by a long tenured veteran, I got a feeling that perhaps earlier concepts around Win32 UI programming may be the lens through which the author is presenting the material on how to best apply WPF. Needless to say, I paid attention and got more value than I anticipated and beyond what I learned from his WinForms book of similar size. While Adam Nathan's book was a more efficient read for me, and one that I could appreciate in its attention and orientation to the more mainstream presentation of WPF, I think that later book in conjunction with this one is quite useful.

My real critique of Petzold's book was that it should have played more to the what may have been the author's strengths in elucidating the API and imperative coding in WPF. Such an approach may have been a great book as a complement to the many XAML focused ones to follow. I believe the API focused chapters that do exist makes Petzold's book a great contribution to WPF knowledge and application. Sure, in my day-to-day I strictly enforce the UI separation by defining a majority of UI elements in XAML. Without Petzold's book I probably would have went further in this approach. Yet, in reading his material I was reminded of and given an appreciaton for the techniques and the potential benefits of using the WPF API more explicitly to peform a range of tasks that works in concert with XAML declared elements to provide the complete solution.

For understanding the benefits and mechanisms of the WPF API this is a great complement for the many XAML dominated books out there. I rate it a 5 because I learned a greater variety of interesting details related to the WPF API than I would have been predisposed to explore or unable to find just using the MSDN documentation. For WPF API knowledge and understanding that can enhance the code side of solutions defined to a greater or lesser degree in XAML this is a great buy.
Comment | 
Was this review helpful to you?
42 of 51 people found the following review helpful
5.0 out of 5 stars If you only get one WPF book, get this one August 30, 2006
Format:Hardcover|Amazon Verified Purchase
Disclaimer - I am one of the senior leads in WPF and helped answer a few questions for Charles (as I do for other writers, press, and developers), and I bought my own copy of this book.

Windows Presentation Foundation sets a new baseline for an application development framework, not only for Windows development, but across the industry. Of note are the integration of UI, documents, and media functionality into a consistent programming model, and the way that this set of functionality interoperates, as well as the expressibility of these concepts in XML (the set of XML tags is referred to as XAML). This is a lot of material to cover, and this book does the best job so far in covering the breadth of knowledge that you will need to develop WPF based applications.

Charles's book reads very naturally (sometimes it felt like I was reading one of the Inside Mac books 18 years ago, which I really enjoyed). Charles provides a good introduction in the first four chapters to get you going, and then takes you through the key built-in layouts (you can also extend by creating your own Panels - chapter 12).

In chapter 8 and 9 he goes through some of the fundamentals that you will need to build your own custom elements/controls, which he tend proceeds to cover in chapters 10, 11, and 12.

Chapter 13 through 16 go through some key controls in a lot of detail.

Chapter 17 takes you into Printing.

In chapter 18 you build a full simple application (a Notepad clone).

Chapter 19 kicks-off a series of chapters that deal with XAML.

Chapter 22 deals with some key concepts, such as running WPF applications/content in a browser, and navigation applications.

Databinding is covered in chapter 23, followed by Styles and Templates (a great way to sequence these concepts, building on previous concepts).

Chapter 26 covers concepts related to a key real world scenario - Data Entry and Data Views.

Chapter 27 through 31 deal with my favorite topics - Graphics and Animations.

Overall a great book, and a good read. Essential for learning WPF at your own pace and getting exposed to the breadth of functionality.

Some of the things that he does not cover: 3D graphics, Media (audio/video), XPS, and Typography functionality.
Was this review helpful to you?
Most Recent Customer Reviews
5.0 out of 5 stars My favorite WPF book: stands the test of time!
I've read countless WPF books cover to cover.

This is my very favorite. I read it early when it first came out.

The code examples are awesome. Read more
Published 10 months ago by Andre M. Van Meulebrouck
5.0 out of 5 stars the exact book i was looking for
yes i love this book. you know why ? because Mr. Petzold takes his time and explains to you what is happening behind the scenes. Read more
Published 19 months ago by Marine
4.0 out of 5 stars Code formatting is bad, otherwise a good book
I'm only on the first chapter, so I can't say much about the book yet, but I have noticed a problem with the formatting of the code examples. Read more
Published 22 months ago by Timothy Benner
3.0 out of 5 stars Good content, bad structure
Petzold's approach to WPF (presenting C# code before introducing XAML) is sound because it gives developer's the in-depth knowledge that is essential for serious development and... Read more
Published on May 7, 2011 by Jakob Kallin
4.0 out of 5 stars A good follow-on to Windows Forms
Having been schooled by Charles's classic Windows 3.0 book, this book reads like an old friend. I can recall the Windows 3.0 chapters just by following the WPF's discussion. Read more
Published on April 30, 2011 by C# Dev
4.0 out of 5 stars A must have C# programming reverence
The Petzold books are some of the best for C++ and C# and WPF programming. The drawback to the approach Petzold uses is that one must still invest in another book or two by... Read more
Published on March 11, 2010 by Michael Poore
2.0 out of 5 stars Don't bother
Petzold failed on this one.

You can only loose time reading it. the author clearly missed the concept here. Read more
Published on January 15, 2010 by Dimitrios Peltekis
5.0 out of 5 stars "Read & Do IT" helps to reach WPF summit
All who wants to master WPF shall go for this hard trip via the book and at the end you will really reach the WPF summit. Read more
Published on July 3, 2009 by D. Song
5.0 out of 5 stars Excellent guide through the WPF thicket
When Petzold's original book "Programming Windows" was first published in the mid-80s, THE computer book of the time was "The C Programming Language" by Kernighan and Ritchie. Read more
Published on May 13, 2009 by E. McElroy
1.0 out of 5 stars Don't waste your time
1. The book has no pictures. Not one lousy image graces the inside of this book. For a book on XAML which lives and breath's graphics, this is a fatal flaw.
2. Read more
Published on December 15, 2008 by Chris J.
Search Customer Reviews
Only search this product's reviews



What Other Items Do Customers Buy After Viewing This Item?


Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

Forums

There are no discussions about this product yet.
Be the first to discuss this product with the community.
Start a new discussion
Topic:
First post:
Prompts for sign-in
 



So You'd Like to...


Create a guide


Look for Similar Items by Category