Book description
Windows Presentation Foundation is Microsoft's newest API for creating Windows applications. It gives the programmer the ability to produce dazzling, graphics-rich programs easily without having to delve into the messy details of the graphics subsystem.
To use this power, however, the programmer must learn new concepts for laying out pages and displaying graphics. Illustrated WPF presents these concepts clearly and visually—making them easier to understand and retain.
Table of contents
- Copyright
- About the Author
- Acknowledgments
- Introduction
-
1. Introduction to Windows Presentation Foundation
- 1.1. What Is Windows Presentation Foundation?
- 1.2. The Path to the Screen
- 1.3. Documents and Fonts
- 1.4. Graphics and Animation
- 1.5. Styles and Control Templates
- 1.6. Separating Visual Design from Coding
- 1.7. WPF Prefers Vector Graphics
- 1.8. System DPI Independence and WPF Units
- 1.9. XAML Browser Applications (XBAPs)
- 1.10. The Other Parts of .NET
- 1.11. Silverlight
- 1.12. Summary
- 2. Overview of WPF Programming
- 3. WPF Architecture and Applications
-
4. XAML
- 4.1. A Tree of Objects
- 4.2. Creating the UI Structure
- 4.3. XAML Trees
- 4.4. Object Element Syntax
- 4.5. Attribute Syntax
- 4.6. More About Object Element Syntax
- 4.7. Type Converters for Attributes
- 4.8. Property Element Syntax
- 4.9. Attached Property Syntax
- 4.10. Code-Behind and Object Names
- 4.11. Namespaces
- 4.12. Markup Extensions
- 4.13. White Space
- 4.14. Special Characters
- 4.15. Summary
-
5. Layout
- 5.1. Layout in WPF
- 5.2. Chapter Conventions
- 5.3. The Layout Process
- 5.4. Setting the Requested Size of Elements
- 5.5. Alignment
- 5.6. Content Alignment
- 5.7. Visibility
- 5.8. Padding and Margins
- 5.9. Panels
- 5.10. The StackPanel
- 5.11. The WrapPanel
- 5.12. The DockPanel
- 5.13. The Grid
- 5.14. The Canvas
- 5.15. The UniformGrid
- 5.16. Summary
- 6. Content and Controls
-
7. Dependency Properties
- 7.1. Properties and a New Paradigm
- 7.2. Looking at an Example
- 7.3. Determining the Value of a Property
- 7.4. The Infrastructure of a Dependency Property
- 7.5. Creating a Custom Dependency Property
- 7.6. Example: Creating a Dependency Property
- 7.7. Attached Properties
- 7.8. The Structure of an Attached Property
- 7.9. Creating an Attached Property
- 7.10. Summary
-
8. Data Binding
- 8.1. What Is Data Binding?
- 8.2. The Binding Object
- 8.3. Binding Direction
- 8.4. Triggers
- 8.5. Data Converters
- 8.6. Multiple Bindings on an Element
- 8.7. More Fun with Multiple Bindings
- 8.8. Deleting Bindings
- 8.9. Binding to Nonelements
- 8.10. Data Contexts
- 8.11. Bindings and ItemsControls
- 8.12. Summary
- 9. Routing Events and Commands
- 10. Other Controls and Elements
- 11. Resources
- 12. Styles
- 13. Control Templates
- 14. Page Navigation Programs
- 15. More Data Binding
- 16. Trees, Tabs, and Other Controls
- 17. Text and Documents
- 18. Graphics in WPF
- 19. Animation
- 20. Audio and Video
Product information
- Title: Illustrated WPF
- Author(s):
- Release date: September 2010
- Publisher(s): Apress
- ISBN: 9781430219101
You might also like
book
You, Only Better
If you want to be happy, fulfilled and energised its probably best not to obsess over …
book
Essentials of Molecular Biology
Molecular Biology provides an introduction to the concepts of molecular biology in strict adherence to the …
book
Working Effectively with Legacy Code
This book provides programmers with the ability to cost effectively handlecommon legacy code problems without having …
book
Mastering Windows Presentation Foundation - Second Edition
Gain the expertise you need to build custom application frameworks and responsive and visually appealing user …