文档介绍:cyan yelloW
MAGENTA BLACK
panTONE 123 C
Books for professionals by professionals® The EXPERT’s VOIce® in .NET
Companion eBook Available
Pro WPF in C# 2008: Windows Presentation
Foundation with .NET , Second Edition
Dear Reader, Pro
WPF
For years, .NET developers have created Windows applications with the Pro
Windows Forms toolkit. And though Windows Forms is mature and reasonably
full-featured, it’s hardwired to essential bits of Windows plumbing that haven’t
changed much in the past ten years. As a result, some tasks that should be easy
Author of require a lot of work.
Pro .NET Windows The Windows Presentation Foundation (WPF) changes all this by introduc-
Forms and Custom Controls ing a new model with entirely different plumbing. Although WPF includes the
(Apress) standard controls you’re familiar with, it draws every detail itself, using the
Pro .NET Windows high-performance DirectX engine. As a result, WPF can provide a whole host
Forms and Custom Controls of eye-popping new features, all of which we’ll cover in this book. For example,
in VB 2005 (Apress) we’ll mon controls like buttons a slick, customized look without writ- in
Pro in C# 2008 ing a line of code. Similarly, we will craft animated effects that rotate, stretch, WPF
(Apress, with Mario Szpuszta) scale, and skew anything in your user interface right before the user’s eyes.
Pro WPF: Windows Tasks that would have been difficult or nearly impossible in Windows Forms—
Presentation Foundation such as playing media files or creating texture-mapped 3-D shapes—are finally
in .NET (Apress) possible. By the time you’ve finished this book, you’ll have mastered these pre-
viously impossible tasks.
Although WPF’s video, animation, and 3-D features get the most hype, WPF
is just as useful for building business applications that don’t need rich graphics.
We’ll cover WPF’s enhancements of key business features such as data binding, C# 2