مشخصات کتاب
-
Christian Wenz
-
2007
-
انگلیسی
-
2141
-
267
-
0
Essential Silverlight
Table of Contents
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix
Part I. Introduction
1. WPF Basics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Of Vectors and Pixels 3
WPF 4
XAML 7
Further Reading 8
2. Getting Started With Silverlight . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
About Silverlight 9
Setting Up a Silverlight Development System 11
A First Silverlight Example 14
Further Reading 25
3. Silverlight Tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Why Tools? 27
XML Editors 27
Vector Graphics Editors 28
Silverlight IDEs 29
Further Reading 30
Part II. Declarative Silverlight
4. XAML Basics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
XAML 37
Using Text 37
Using Shapes 43
Positioning Elements 50
Using Images 53
Using Brushes 54
For Further Reading 60
5. Interaction and Event Handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
Interactive Silverlight 61
Events and Event Handlers 62
Mouse Events 66
Keyboard Events 74
For Further Reading 78
6. Transformations and Animations . . . . . . . . . . . . . . . . . . . . . . . . . . 79
Transforming and Animating Content 79
Transformations 79
Animations 86
For Further Reading 102
7. Multimedia . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
Silverlight’s Media Support 103
Preparing Multimedia Data 103
MediaElement 109
For Further Reading 129
Part III. Programmatic Silverlight
8. Accessing Silverlight Content From JavaScript . . . . . . . . . . . 133
JavaScript, the Browser Language 133
Accessing the Plug-in 133
Communicating with the Plug-in 135
For Further Reading 145
9. Special Silverlight JavaScript APIs . . . . . . . . . . . . . . . . . . . . . . . 147
Advanced JavaScript APIs 147
Dynamically Downloading Content 147
Using Additional Fonts 152
Further Reading 156
10. ASP.NET 2.0, ASP.NET AJAX, and Silverlight . . . . . . . . . . . . 157
The ASP.NET Futures 157
Installing the ASP.NET Futures 157
Embedding XAML 158
Embedding Media Content 164
For Further Reading 168
11. Silverlight 1.1 Preview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
Silverlight’s Future 169
.NET Integration 170
Further New Features 174
Further Reading 175
Appendix: Silverlight JavaScript Reference . . . . . . . . . . . . . . . . . . . 177