ptg
Table of Contents
Introduction 1
Who Should Read This Book? .......................................................................................................... 2
Software Requirements . ......................................................................................................................... 3
Code Examples.............................................................................................................................................. 4
How This Book Is Organized. ............................................................................................................ 4
Part I: Background. ....................................................................................................................... 4
Part II: Building a WPF Application ............................................................................... 4
Part III: Controls ............................................................................................................................ 5
Part IV: Features for Professional Developers . ........................................................ 5
Part V: Rich Media . ..................................................................................................................... 5
Part VI: Advanced Topics. ....................................................................................................... 6
Conventions Used in This Book . ................................................................................................... 6
Part I Background
1 Why WPF, and What About Silverlight? 9
A Look at the Past . .................................................................................................................................. 10
Enter WPF . .................................................................................................................................................... 11
The Evolution of WPF. ......................................................................................................................... 14
Enhancements in WPF 3.5 and WPF 3.5 SP1 ...................................................... 15
Enhancements in WPF 4 . ................................................................................................... 16
What About Silverlight? ..................................................................................................................... 18
Summary......................................................................................................................................................... 19
2 XAML Demystified
21
XAML Defined . ......................................................................................................................................... 23
Elements and Attributes ..................................................................................................................... 24
Namespaces . ................................................................................................................................................ 26
Property Elements . .................................................................................................................................. 29
Type Converters. ....................................................................................................................................... 30
Markup Extensions. ................................................................................................................................ 32
Children of Object Elements . ......................................................................................................... 35
The Content Property ............................................................................................................ 35
Collection Items. ......................................................................................................................... 36
More Type Conversion .......................................................................................................... 38
From the Library of Wow! eBook
- 1
- 2
- 3
前往页