Build effective user interfaces with Windows Presentation Foundation
Windows Presentation Foundation (WPF) is included with the Windows operating system and provides a programming model for building applications that provide a clear separation between the UI and business logic. Written by a leading expert on Microsoft graphics programming, this richly illustrated book provides an introduction to WPF development and explains fundamental WPF concepts.
Packed with helpful examples, this reference progresses through a range of topics that gradually increase in their complexity. You’ll quickly start building applications while you learn how to use both Expression Blend and Visual Studio to build UIs. In addition, the book addresses the needs of programmer who write the code behind the UI and shows you how operations can be performed using both XAML and C#.
Topics Covered:
Overview of WPF
WPF in Visual Studio
Expression Blend
Common Properties
Content Controls
Layout Controls
User Interaction Controls
Two-Dimensional Drawing Controls
Properties
Pens and Brushes
Events and Code-Behind
Resources
Styles and Property Triggers
Event Triggers and Animation
Templates
Themes and Skins
Printing
Data Binding
Commanding
Transformations and Effects
Documents
Navigation-Based Applications
Three-Dimensional Drawing
Silverlight
Even if you only have a minimal amount of experience, by the end of the book, you will be able to build dynamic and responsive user interfaces with WPF.
Mục lục
Introduction xxvii
Chapter 1: WPF Overview 1
Chapter 2: WPF in Visual Studio 21
Chapter 3: Expression Blend 37
Chapter 4: Common Properties 61
Chapter 5: Content Controls 73
Chapter 6: Layout Controls 101
Chapter 7: User Interaction Controls 119
Chapter 8 Tw o-Dimensional Chapter 8: Drawing Controls 145
Chapter 9: Properties 153
Chapter 10: Pens and Brushes 165
Chapter 11: Events and Code-Behind 179
Chapter 12: Resources 193
Chapter 13: Styles and Property Triggers 213
Chapter 14 Event Triggers a Chapter 14: and Animation 235
Chapter 15: Templates 263
Chapter 16: Themes and Skins 283
Chapter 17: Printing 303
Chapter 18: Data Binding 317
Chapter 19: Commanding 347
Chapter 20: Transformations and Effects 359
Chapter 21: Documents 367
Chapter 22: Navigation-Based Applications 379
Chapter 23: Three-Dimensional Drawing 387
Chapter 24: Silverlight 407
Appendix A: Common Properties 417
Appendix B: Content Controls 425
Appendix C: Layout Controls 443
Appendix D: User Interaction Controls 461
Appendix E: Media Element Control 487
Appendix F: Pens 493
Appendix G: Brushes 495
Appendix H: Path Mini-Language 507
Appendix I: XPath 511
Appendix J: Data Binding 519
Appendix K: Commanding Classes 525
Appendix L: Bitmap Eff ects 533
Appendix M: Styles 535
Appendix N: Templates 539
Appendix O: Triggers and Animation 549
Appendix P: Index of Example Programs 555
Index 573
Giới thiệu về tác giả
Rod Stephens is a professional software developer who has built a wide variety of software and database applications in his career that spans two decades. He is the author of more than twenty books and 250 articles, and is a regular contributor to Dev X.com (www.devx.com).
Wrox guides are crafted to make learning programming languages and technologies easier than you think. Written by programmers for programmers, they provide a structured, tutorial format that will guide you through all the techniques involved.