Rough Cuts are manuscripts that are developed but not yet published, available through Safari. Rough Cuts provide you access to the very latest information on a given topic and offer you the opportunity to interact with the author to influence the final publication.
This is a working draft of a pre-release book. It is available before the published date as part of the Rough Cuts service.
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.
Category: .NET Programming / WPF
Covers: Windows Presentation Foundation
User Level: Intermediate—Advanced
About the Authors xii
Dedications xiii
We Want to Hear from You! xv
Part I Thinking in WPF
1 The WPF Design Philosophy 1
Data and Behavior 2
Working with Data 3
Templates 3
Presenters 4
Binding and Converters 4
Layout 5
Styles 5
Working with Behaviors 6
The User Experience 8
The User Experience Benevolent Circle 9
A Note on Sample Source Code 9
Summary 10
2 The Diverse Visual Class Structure 11
Introducing the Visual Classes 11
The DispatcherObject Class 12
The DependencyObject Class 12
The Visual and DrawingVisual Classes 13
The FrameworkElement Class 15
The Shape Class 16
The Text Classes 18
The Control Class 19
The ContentControl Class 20
The ContentPresenter Class 20
The ItemsControl Class 21
The UserControl Class 22
The Panel Class 23
The Decorator Class 24
The Adorner Class 24
The Image Class 25
The Brushes 25
The DataTemplate, ControlTemplate, and ItemsPanelTemplate Classes 27
The Viewport3D Class 27
The MediaElement Class 28
The InkCanvas 28
Summary 29
