Search
Go

Shop by category
 
WPF Control Development Unleashed: Building Advanced User Experiences
Email a friendView larger image

WPF Control Development Unleashed: Building Advanced User Experiences

List Price: $49.99
Our Price: $39.10
You Save: $10.89 (22%)
Shipping: This item ships for FREE with Super Saver Shipping.
SKU:

7116194

In Stock
Usually ships in 1 business days

Note: Item may be sold and shipped by another company. Learn more.
Product Promotions:
  • Buy $50 in qualifying physical textbooks, get $2 in Amazon MP3 Credit.  Here's how (restrictions apply)
Description:

WPF Control Development Unleashed

Building Advanced User Experiences

 

In this book, two leading Windows Presentation Foundation experts give developers everything they need to build next-generation WPF applications–software that is more robust, usable, and compelling.

 

Drawing on their close ties with Microsoft’s WPF development team, Pavan Podila and Kevin Hoffman give you a clear, robust, and practical understanding of WPF, its underpinnings, its overall architecture, and its design philosophy. Podila and Hoffman introduce never-before-published WPF design patterns and support them with robust, real-world code examples–all presented in full color, just as they appear in Visual Studio.

 

The authors begin by explaining how to “think in WPF,” and then introduce powerful new techniques for everything from handling 3D layouts to creating game-like physics effects. Along the way, they offer in-depth coverage of data binding, building interactivity, and control development: three of WPF’s most challenging concepts. You’ll learn how to choose the right WPF features for every programming challenge, and use those features far more creatively and effectively.

 

If you want to build truly outstanding WPF applications, this is the book that will get you there.

 

  • Master the patterns and techniques you need to build state-of-the-art WPF applications
  • Write more powerful and effective applications that reflect a deep understanding of WPF’s design philosophy
  • Learn how WPF has evolved, and take full advantage of its growing sophistication
  • Make the most of advanced declarative programming techniques
  • Leverage IScrollInfo, virtualization, control theming, and other complex features
  • Build more powerful interactivity into your WPF applications
  • Create more visual software with 3D elements, custom animations, and shader effects
  • Optimize WPF application performance in real-world environments
  • Master design patterns for organizing your controls more effectively

 

Category: .NET Programming / WPF

Covers: Windows Presentation Foundation

User Level: Intermediate—Advanced

 

Product Details:
Author: Pavan Podila
Paperback: 384 pages
Publisher: Sams
Publication Date: September 21, 2009
Language: English
ISBN: 0672330334
Product Length: 9.2 inches
Product Width: 7.04 inches
Product Height: 0.73 inches
Product Weight: 1.54 pounds
Package Length: 9.0 inches
Package Width: 6.9 inches
Package Height: 0.8 inches
Package Weight: 1.15 pounds
Average Customer Rating: based on 12 reviews
Customer Reviews:
Average Customer Review: 4.0 ( 12 customer reviews )
Write an online review and share your thoughts with other customers.


Most Helpful Customer Reviews

8 of 8 found the following review helpful:

5Much Needed Book on Building WPF ControlsJan 06, 2010
By Joshua Adams
I've been writing apps for business and pleasure in WPF for 2.5 years now. I own every significant book on WPF that is out there. Most are quite good, and can do a nice job showing Joe Developer how to build an app in WPF by teaching about the out-of-the-box controls, basic data binding, validation, DataTemplates, ControlTemplates, Styles, Triggers, etc. That sort of book can get you building an app that looks very nice and leaves its WinForms battleship gray apps in the dust.

However, actually building custom controls in WPF is a topic that is barely glanced upon in most of those books. Furthermore, there simply wasn't much information specifically on the topic of building your own WPF controls on MSDN. The best sources where blogs such as Josh Smith, Dr WPF, and Pavan Podila (one of the authors). But a book that systematically covered the topic was a void that has been very nicely filled by WPF Control Development Unleashed. This is great because well-done custom controls can really increase the "sizzle" of an app and make it enjoyable to use.

As others have written, this book isn't for someone who is just learning WPF. It is for some advanced developers who are building their own WPF controls. On the first page the authors explain that they are going to teach the "whys" of WPF so that compelling apps can be built, and that they are also maintainable and can stand the test of time because they are built in accordance with the WPF design philosophy. I think the book does a great job of achieving that goal.

One of the biggest strengths of the book is that it spends time showing when NOT to build a custom WPF control in favor of re-templating existing controls. They creatively give a number of examples of this, including using a WPF ListBox to actually display an animated radar screen! Re-purposing existing controls through their ControlTemplates should always be explored before actually building a new custom WPF Control. They also cover the WPF class hierarchy and explain that when building a custom WPF control it is very important to subclass from the correct WPF class.

My favorite chapters were "Building Custom Panels", "Using Existing Controls", "Advanced Scrolling", "Virtualization", "Custom Animations", "Events, Commands, and Focus", and "Advanced Data Binding". These chapters delve into the plumbing of WPF in ways other books don't. Unless you are a WPF rockstar you will learn lots of new things about these topics. Maybe you'll learn about the levels of data binding precedence, or how you can receive change notification for dependency properties that a control doesn't provide an event for, new ways to use Attached Properties--or maybe just some guidelines over when to use Commands or RoutedEvents. You will learn something you didn't know before, even about WPF topics you have used extensively.

Is this book perfect? No, of course not. It simply cannot cover everything about WPF in full detail. For instance, you will find some discussion of WPF design patterns (MVVM, etc) but as these are not the main focus of the book there wasn't room to cover them (and all their flavors). In fact I really think there would be room for a book entirely devoted to WPF flavors of UI design patterns. Despite a few minor shortcomings along these lines, I feel this book merits 5 stars.

The authors' examples of custom WPF controls and re-templated existing WPF controls are fantastic and all the code can be downloaded for free. In fact, if you just read the book and don't look at the code you are really missing out. Just using some of these controls really got some of my own creative juices flowing.

To end, here is what I (@adajos) tweeted about this book:

"The 5 most useful tips I found in WPF Control Development Unleashed. 1. Use AddOwner Instead of Creating a New DependencyProperty #WPF

2. Listen for PropertyChanged events on Dependency Properties with DependencyPropertyDescriptor's AddValueChanged() #WPF

3. How/when to do a Weak Event Pattern with IWeakEventListener and subclassing WeakEventManager. #WPF

4. The entire chapter on Virtualization in #WPF

5. Implementing Drag and Drop with Attached Properties. #WPF

Those were my 5 favorite tips from WPF Control Development Unleashed, but it was chock full of great content. Highly recommended. #WPF"

12 of 15 found the following review helpful:

5Covers the most powerful functionality WPF has to offerSep 29, 2009
By T. Anderson
WPF is a vast topic. This book does a great job of zeroing in on some of the most powerful functionality WPF has to offer and assembling it in a very concise format.

The book starts out covering the WPF Design Philosophy which is a great for those who need an introduction to the overall context WPF offers the developer. I would recommend reading only to those who have some experience with WPF. This become evident right away. Chapter 2 `The Diverse Visual Class Structure' does a great job of covering all the most important classes in WPF, and it fits them together like a puzzle providing a complete view of the WPF, but I can see the beginner being completely overwhelmed and lost throughout the chapter. This is not a ding to the book, it warns the book is for intermediate to advanced WPF programmers.

The book continues to dig into some of the most advanced features WPF has to offer. The only thing about the book I would change is providing more printed code. The authors say they believe in only printing the most relevant code, which is fine, just not my personal preference. I like to be able to read a book without having to be on my computer to review the code. This is not a ding against the book either, since it is just a preference and the code download is great. It is very well organized and usable.

Beyond the chapters on building controls with WPF the authors also offer guidance on achieving high performing code and the use of performance measuring tools. It is a short chapter but it gets you started.

They also have a chapter of design tips. This chapter is not just WPF centric. The chapter includes a list of the well know design patterns for GUI development. They are not covered in detail, but they have a good summary about the pattern.

The authors have a good writing style that makes the book enjoyable to read. The topics are all very cool topics and they really show off the advanced capabilities of WPF.

I highly recommend all WPF developers read this book at some point along their learning path. It is not introductory, so I would suggest having a little experience first. No matter how advanced you are in your experience level, you will learn some new things from this book.

19 of 26 found the following review helpful:

1Great book if you already know everything in itOct 13, 2009
By Ross P. Wright
This book consistently make promises its fails to keep. Chapter after chapter starts with "in the chapter you will gain an in-depth knowledge of X" and after several pages of very high-level discussion and nearly irrelevant examples concludes with, "Now that you know all about X..." and the authors barely even grazed the topic - then alone provided you with anything you can actually use to implement the topics supposedly covered.

Case in point: Data Templates. They spent the first four chapters raving about them and talking about how they have shown you the power of them and did not provide a single explanation of how to actually use one, or where they are used. No examples or even discussions of concrete examples at all. So when I read "now we have shown you..." and they have not shown me anything at all - well, I'm done. I admit I only made it half-way before I was so disgusted I put it down and quit wasting my time. Chapter after chapter I finished wondering where was the beef?

I'm no WPF beginner, but then I'm no expert either - that is why I am reading the book, right? I am sure if you are reading this stuff already knowing everything it makes more sense - but I found myself thinking as I read about topics I already know, "Man, that is a convoluted way to describe that to someone just learning. I'm sure glad I already know it." It was positively inspiring in the sense that I began thinking if these guys can write a book this bad and get published, maybe I should take a shot at writing a book myself.

Seriously, the entire book needs a reality check - the best is when they claim to be presenting a simpler method of accomplishing some task and then proceed to unfold something grotesque. At least other authors I have read covering WPF have the common decency to show you how to do a thing that is ugly, acknowledge that, yes, it is ugly, shrug and move on - or better yet show you a better pattern, but this book reads like Microsoft sales literature. But then who are you going to believe, the experts or your own lying eyes? I don't know how much of this is the technology and how much is the authors, but sorry, you can point at a bowl of spaghetti and call it a twelve-layer lasagna all you want; I am not buying it.

4 of 5 found the following review helpful:

5Excellent book for the experiencedOct 30, 2009
By Gustavo Cavalcanti
If you have experience with WPF this is an excellent book. It may not have all the detailed code but has all the meaty topics you need. If it had code for every little thing it talks about it would probably be a 900-page book and much less appealing. This is a 350-page book but very dense. Every page has tons of useful information.
It's a nice complement to Adam Nathan's book (ISBN 0672628917).

1 of 1 found the following review helpful:

5Good book well formatted for KindleAug 26, 2011
By Charles M. Carroll "Programmer, Teacher, Writer"
This book has some excellent re-use ideas and is well formatted for the kindle

EXCEPT THE CODE SAMPLES should be text not graphics!!!

I like this book - it is not as good as say Martin Fowler's Refactoring but it has LOTS of clever, thoughtful insightful ideas about how to make code reusable in WPF. Great job to the writer you really are good and have some fabulous ideas - you need a editor and writing partner who take the reviews here seriously and make a much better next edition. Also you should test the next edition and this edition with some heavy coders - sent them comp copies and implement their input not just read it.

I agree with other's criticisms of the book - while it is excellent I think the next edition should read all the reviews here and take it seriously. Doubling its size would not be a bad thing it is a rich subject.

This author has a LOT of insight but could benefit from a second writer/partner in next edition of this book... GREAT BOOK :D Very insightful. Enjoyed the kindle version!!!

See all 12 customer reviews on Amazon.com
About Us   Contact Us
Privacy Policy Copyright © , Security Books. All rights reserved.
Web business powered by Amazon WebStore