Книги и журналы » Компьютерная литература » Программирование (книги)
WPF 4.5 UnleashedГод издания: July 2013
Автор: Adam Nathan
Издательство: Sams Publishing
ISBN: 9780133497076
Серия: Unleashed
Язык: Английский
Формат: PDF
Качество: Скачано с Oreilly при помощи Oreilly Downloader'а.
Интерактивное оглавление: Да
Количество страниц: 1171
ОписаниеThe #1 WPF Book--Now Updated for WPF 4.5!
Thorough, authoritative coverage, practical examples, clear writing, and full-color presentation make this one of the most widely acclaimed programming books of the last decade.
Windows Presentation Foundation (WPF) is the recommended technology for creating modern Windows desktop apps. Whether you want to develop traditional user interfaces or integrate 3D graphics, audio/video, animation, dynamic skinning, touch, rich document support, speech recognition, or more, WPF enables you to do so in a seamless, resolution-independent manner that scales from small tablets to large TVs. WPF 4.5 Unleashed is the authoritative book that covers it all, in a practical and approachable fashion, authored by WPF guru and Microsoft architect Adam Nathan.
• Covers everything you need to know about Extensible Application Markup Language (XAML)
• Examines the WPF feature areas in incredible depth: controls, layout, resources, data binding, styling, graphics, animation, and more
• Delves into topics that aren’t covered by most books: 3D, speech, audio/video, documents, effects
• Shows how to create popular UI elements and leverage built-in controls such as the new Office-style Ribbon
• Demonstrates how to create sophisticated UI mechanisms, such as Visual Studio-like collapsible/dockable panes
• Explains how to create first-class custom controls for WPF
• Demonstrates how to create hybrid WPF software that leverages Windows Forms, DirectX, ActiveX, or other non-WPF technologies
• Explains how to exploit desktop features, such as Jump Lists and taskbar customizations, and the same toast notifications used by Windows Store apps
[spoiler="Примеры страниц"]

[/spoiler]
[spoiler="Оглавление"]
About This eBook
Title Page
Copyright Page
Some Praise for the First Edition of Windows® Presentation Foundation Unleashed
Contents at a Glance
Table of Contents
About the Author
Dedication
Acknowledgments
We Want to Hear from You!
Reader Services
Introduction
Who Should Read This Book?
Software Requirements
Code Examples
How This Book Is Organized
Conventions Used in This Book
Part I: Background
Chapter 1. Why WPF?
A Look at the Past
Enter WPF
The Evolution of WPF
Summary
Chapter 2. XAML Demystified
XAML Defined
Elements and Attributes
Namespaces
Property Elements
Type Converters
Markup Extensions
Children of Object Elements
Mixing XAML with Procedural Code
XAML2009
XAML Keywords
Summary
Chapter 3. WPF Fundamentals
A Tour of the Class Hierarchy
Logical and Visual Trees
Dependency Properties
Summary
Part II: Building a WPF Application
Chapter 4. Sizing, Positioning, and Transforming Elements
Controlling Size
Controlling Position
Applying Transforms
Summary
Chapter 5. Layout with Panels
Canvas
StackPanel
WrapPanel
DockPanel
Grid
Primitive Panels
Handling Content Overflow
Putting It All Together: Creating a Visual Studio–Like Collapsible, Dockable, Resizable Pane
Summary
Chapter 6. Input Events: Keyboard, Mouse, Stylus, and Touch
Routed Events
Keyboard Events
Mouse Events
Stylus Events
Touch Events
Commands
Summary
Chapter 7. Structuring and Deploying an Application
Standard Desktop Applications
Navigation-Based Desktop Applications
Gadget-Style Applications
XAML Browser Applications
Loose XAML Pages
Summary
Chapter 8. Exploiting Windows Desktop Features
Jump Lists
Taskbar Item Customizations
Aero Glass
TaskDialog
Summary
Part III: Controls
Chapter 9. Content Controls
Buttons
Simple Containers
Containers with Headers
Summary
Chapter 10. Items Controls
Common Functionality
Selectors
Menus
Other Items Controls
Summary
Chapter 11. Images, Text, and Other Controls
The Image Control
Text and Ink Controls
Documents
Range Controls
Calendar Controls
Summary
Part IV: Features for Professional Developers
Chapter 12. Resources
Binary Resources
Logical Resources
Summary
Chapter 13. Data Binding
Introducing the Binding Object
Controlling Rendering
Customizing the View of a Collection
Data Providers
Advanced Topics
Putting It All Together: The Pure-XAML Twitter Client
Summary
Chapter 14. Styles, Templates, Skins, and Themes
Styles
Templates
Skins
Themes
Summary
Part V: Rich Media
Chapter 15. 2D Graphics
Drawings
Visuals
Shapes
Brushes
Effects
Improving Rendering Performance
Summary
Chapter 16. 3D Graphics
Getting Started with 3D Graphics
Cameras and Coordinate Systems
Transform3D
Model3D
Visual3D
Viewport3D
2D and 3D Coordinate System Transformation
Summary
Chapter 17. Animation
Animations in Procedural Code
Animations in XAML
Keyframe Animations
Easing Functions
Animations and the Visual State Manager
Summary
Chapter 18. Audio, Video, and Speech
Audio
Video
Speech
Summary
Part VI: Advanced Topics
Chapter 19. Interoperability with Non-WPF Technologies
Embedding Win32 Controls in WPF Applications
Embedding WPF Controls in Win32 Applications
Embedding Windows Forms Controls in WPF Applications
Embedding WPF Controls in Windows Forms Applications
Mixing DirectX Content with WPF Content
Embedding ActiveX Controls in WPF Applications
Summary
Chapter 20. User Controls and Custom Controls
Creating a User Control
Creating a Custom Control
Summary
Chapter 21. Layout with Custom Panels
Communication Between Parents and Children
Creating a SimpleCanvas
Creating a SimpleStackPanel
Creating an OverlapPanel
Creating a FanCanvas
Summary
Chapter 22. Toast Notifications
Prerequisites
Sending a Toast Notification
Toast Templates
Notification Events
Scheduled Notifications
Summary
Appendix A. Fun with XAML Readers and Writers
Overview
The Node Loop
Reading XAML
Writing to Live Objects
Writing to XML
XamlServices
Index
[/spoiler]
Приятного чтения