Home

Wiley Silverlight 1.0

image

Contents

1. 28401ftoc qxd WroxPro 9 12 07 9 36 PM Page xi T Contents Acknowledgments x Foreword xix Introduction xxi Chapter 1 Introduction to Silverlight 1 What Is Silverlight 1 What Does DOM Really Mean 4 Silverlight Versions Explained 5 Getting the Silverlight Plug In 6 Getting the Silverlight SDK 9 Building Silverlight Applications 13 Creating the Silverlight Object in HTML 17 Silverlight Object Attributes 18 Adding Multiple Silverlight Objects to a Page 20 Resizing a Silverlight Control 21 Displaying in Full Screen Mode 23 Understanding XAML 25 Summary 27 Chapter 2 Building Silverlight Applications Using XAML 29 Rendering Silverlight Content 29 Working with XAML in This Chapter 30 Layout of Silverlight Content 31 Positioning Objects Using Zindex 34 Positioning Objects Using Transforms 38 Drawing with Text and Brushes 41 Using the TextBlock Object 41 Creating Hyperlinks 43 Silverlight Video 45 Adding Video to Web Pages 46 Supported Audio and Video Formats 46 Interacting with the MediaElement Object 47 Using Markers and Timelines in Video 49 Painting Video onto Objects 52 Creating Video Reflections 53 Animating Silverlight Elements 56 Summary 58 28401ftoc qxd WroxPro 9 12 07 9 36 PM Page xii T Contents Chapter 3 Designing Silverlight Applications Using Expression Blend 2 59 Getting the Latest Blend 2 Preview 60 Creating a New Silverlight Project 60 The Silverlight Project Starter Template 61 Blend Workspace Overv
2. Frame 224 DoubleAnimation 224 DoubleAnimationUsingKeyFrames 225 DoubleCollection 225 DoubleKeyFrame 225 DoubleKeyFrameCollection 225 Downloader 226 DrawingAttributes 226 Duration 226 Ellipse 227 EllipseGeometry 227 FontFamily 227 GeometryCollection 228 GeometryGroup 228 Glyphs 228 GradientStop 229 GradientStopCollection 229 Image 229 ImageBrush 230 InkPresenter 230 KeyboardEventArgs 230 KeySpline 231 KeyTime 231 xiv 28401ftoc qxd WroxPro 9 12 07 9 36 PM Page xv Contents Line 231 LinearColorKeyFrame 232 LinearDoubleKeyFrame 232 LinearGradientBrush 232 LinearPointKeyFrame 232 LineBreak 233 LineGeometry 233 LineSegment 233 MatrixTransform 233 MediaAttributeCollection 234 MediaElement 234 MouseEventArgs 234 ParserErrorEventArgs 235 Path 235 PathFigure 235 PathFigureCollection 236 PathSegmentCollection 236 PointAnimation 236 PointAnimationUsingKeyFrames 236 PointCollection 237 PointKeyFrame 237 PointKeyFrameCollection 237 PolyBezierSegment 238 Polygon 238 Polyline 238 PolyLineSegment 239 PolyQuadraticBezierSegment 239 QuadraticBezierSegment 239 RadialGradientBrush 239 Rectangle 240 RectangleGeometry 240 RepeatBehavior 240 ResourceCollection 241 RotateTransform 241 Run 241 RuntimeErrorEventArgs 241 ScaleTransform 242 Silverlight Control 242 SkewTransform 242 SolidColorBrush 242 SplineColorKeyFrame 243 SplineDoubleKeyFrame 243 XV 28401ftoc qxd WroxPro 9 12 07 9 36 PM Page xvi F Contents SplinePointKey
3. Frame 243 Storyboard 243 Stroke 244 Stylusinfo 244 StylusPoint 244 StylusPointCollection 244 TextBlock 245 Timeline 245 TimelineCollection 245 TimelineGroup 246 TimelineMarker 246 TimelineMarkerCollection 246 TimelineMarkerEventArgs 246 TimeSpan 247 TransformCollection 247 TransformGroup 247 TranslateTransform 247 TriggerAction 248 TriggerActionCollection 248 TriggerCollection 248 UlElementCollection 248 VideoBrush 249 Appendix B XAML Reference 251 Introducing XAML 251 Silverlight XAML Basics 253 Declaring Objects in XAML 255 Object or Content Element Syntax 255 Attribute Element Syntax 255 Property Element Syntax 256 Setting a Property Using Implicit Collection Syntax 250 Deciding When to Use Attribute or Property Element Syntax to Set a Property 258 XAML Hierarchy 258 Adding XAML Objects to the Silverlight Object Hierarchy 260 Events and the Silverlight Control 261 Code Behind and x Name 262 Silverlight Player Events 264 Defining Event Handlers 266 Defining Events in JavaScript 268 Referencing the Silverlight Control 269 Summary 272 xvi 28401ftoc qxd WroxPro 9 12 07 9 36 PM Page xvii Contents Appendix C Silverlight Online Resources 273 Author Blogs 273 Silverlight Influential Blogs 273 Resource Web Sites 274 Index 275 xvii 28401ftoc qxd WroxPro 9 12 07 9 36 PM Page xviii T
4. iew 62 Layout and Design in Blend 74 Creating and Understanding Timelines 79 Understanding Storyboards in Silverlight 80 Creating a Timeline 80 Working with Artwork Created Outside of Blend 84 Designing with Blend Silverlight in Mind 84 Exporting to XAML in Other Tools 86 Summary 89 Chapter 4 Coding Silverlight Applications with JavaScript and XAML 91 The JavaScript Programming Model 92 Creating the Player Using JavaScript 92 Refactoring the Silverlight Player Creation 95 Dissecting the Silverlight js Helper Library 96 createObject and createObjectEx 96 isInstalled 103 Accessing the Silverlight Player Object 104 Accessing XAML Content 105 Locating XAML Content Elements 105 Getting and Setting XAML Properties 106 Instantiating and Inserting XAML Elements 108 Examining Events in Silverlight 113 Player Events 113 XAML Element Events 115 Accessing Storyboards Programmatically 125 Using the Downloader Object 128 Downloading Packages 131 Downloading Fonts 133 Using JavaScript and the MediaElement 134 Using DownloadProgressChanged and BufferingProgressChanged Events 136 Working with Markers 137 Summary 138 xii 28401ftoc qxd WroxPro 9 12 07 9 36 PM Page xiii T Contents Chapter 5 Using Silverlight with ASP NET 139 Creating Custom Controls 142 Setting Up the Project 142 Adding the Silverlight JavaScript Library 146 Adding Xaml Control Properties 150 Rendering the Xaml Control 154 Using ASP NET AJAX with Silverlight 158 Refacto
5. r into a ScriptControl 158 Adding Client Oriented Properties 160 Creating the Client Side JavaScript Default Type 161 Embedding and Registering the New Client Side Type 164 Implementing AJAX Extension Methods 164 Creating Dynamic Silverlight User Interfaces with ASP NET 166 Creating the Button Template 166 Creating the ButtonBar Server Side Code 170 Creating the ButtonBar Client Side Code 178 Using the ButtonBar Control 184 Final Thoughts Recommendations 187 Summary 187 Chapter 6 Silverlight 1 1 and the CLR 189 The CLR 191 The Framework 192 Base APIs 193 Data APIs 194 Communications APIs 195 Presentation APIs 196 Debugging 199 Dynamic Language Support 199 A Quick Silverlight 1 1 Example 199 Summary 200 Chapter 7 Video Player Silverlight 1 0 Case Example 201 Getting Started 202 Designing the Application Architecture 202 Designing the User Interface 202 Managing the Developer Designer Workflow 204 Preparing the Media for the Application 205 Creating the Data Layer 206 xiii 28401ftoc qxd WroxPro 9 12 07 9 36 PM Page xiv F Contents Creating the Host Web Page 207 Coding Lumos 208 Scene Class 209 Button Class 216 VideoArea Class 217 Summary 220 Appendix A Silverlight Object Reference 221 ArcSegment 221 BeginStoryboard 221 BezierSegment 222 Canvas 222 ColorAnimation 222 ColorAnimationUsingKeyFrames 223 ColorKeyFrame 223 ColorKeyFrameCollection 223 DiscreteColorKeyFrame 224 DiscreteDoubleKeyFrame 224 DiscretePointKey

Download Pdf Manuals

image

Related Search

Related Contents

IsoMax for ARM • User`s Manual  Honeywell GPS Receiver KMD 550/850 User's Manual  Info rehab. Route de St Leu-Villetaneuse  ElectronS.R.L.  Compteur de Particules MET ONE Série 3400  この報告書をダウンロードする  Leroy-Somer Mb 3101/2000/IA - Installation    7 - Dirna Bergstrom  SMT130 User Manual - Sundance Multiprocessor Technology Ltd.  

Copyright © All rights reserved.
Failed to retrieve file