Home > Store

Silverlight 1.0 Unleashed

Register your product to gain access to bonus material or receive a coupon.

Silverlight 1.0 Unleashed

eBook

  • Sorry, this book is no longer in print.
  • About Watermarked eBooks
  • This PDF will be accessible from your Account page after purchase and requires PDF reading software, such as Acrobat® Reader®.

    The eBook requires no passwords or activation to read. We customize your eBook by discreetly watermarking it with your name, making it uniquely yours.

    Watermarked eBook FAQ

Not for Sale

Description

  • Copyright 2008
  • Edition: 1st
  • eBook
  • ISBN-10: 0-7686-7785-8
  • ISBN-13: 978-0-7686-7785-0

This is the eBook version of the printed book. If the print book includes a CD-ROM, this content is not included within the eBook version.

Full Color

Code samples appear as they do in Visual Studio and Expression Blend!

Printed entirely in color, with helpful figures and syntax coloring to make code samples appear as they do in Visual Studio and Expression Blend!

Silverlight is a lightweight but powerful plug-in for multiple web browsers on multiple operating systems that makes it easier than ever to create rich web-based content, applications, and controls. With support for vector graphics, animations, full-screen high-definition video, and more, Silverlight gives you the ability to create more compelling content than you dreamed possible for Windows, Mac OS X, and Linux. Silverlight provides much of the power of Windows Presentation Foundation, but with less overhead and easy integration with HTML and AJAX-style applications. Silverlight 1.0 Unleashed is the authoritative book that covers the technology in a practical and approachable fashion, authored by Silverlight guru and Microsoft developer Adam Nathan.

  • Covers everything you need to know about Extensible Application Markup Language (XAML) in Silverlight
  • Examines the Silverlight feature areas in depth: graphics, text, audio, video, animation, ink, events, and more
  • Demonstrates how to create reusable controls and perform common tasks (such as drag-and-drop) using basic building blocks
  • Explains how to download assets asynchronously to maximize your user experience
  • Demonstrates how to create hybrid applications that mix Silverlight content with HTML or Flash content
  • Highlights features scheduled for future versions of Silverlight while showing how to achieve your desired results with the current version

Introduction 1

Part I          Fundamentals

1      Getting Started 9

2      XAML 39

Part II        Creating Static Content

3      Shapes, Lines, and Curves 61

4      Text 83

5      Brushes and Images 99

6      Positioning and Transforming Elements 117

Part III      Making Your Content Come to Life

7      Responding to Input Events 143

8      Downloading Content on Demand 179

9      Animation 191

10    Audio and Video 219

Sample Content

Table of Contents

Silverlight 1.0 UnleashedTable of Contents

  • Introduction

Part I - Fundamentals

  • Chapter 1 - Getting Started
    • Embedding the Silverlight Control Manually
    • Letting Silverlight.js Handle the Dirty Work
      • Silverlight.createObject
      • Silverlight.createObjectEx
      • Putting It All Together
    • Understanding Your Hosting Options
      • source
      • Properties
      • Events
    • Interacting with the Silverlight Control Programmatically
      • The Settings Property
      • The Content Property
      • Other Members
    • Conclusion

  • Chapter 2 - XAML
    • Elements and Attributes
    • The XML Namespace
    • Property Elements
    • Type Converters
    • Children of Object Elements
      • The Content Property
      • Items in a Collection
    • Attached Properties
    • The Relationship Between XAML and JavaScript
      • Interacting with Elements Defined in XAML
      • Generating XAML Dynamically
    • Conclusion

Part II - Creating Static Content

  • Chapter 3 - Shapes, Lines, and Curves
    • Basic Shapes
      • Rectangle
      • Ellipse
      • Polygon
    • Lines and Curves
      • Line
      • Polyline
      • Path
    • Geometries
      • Using a Geometry for Clipping
      • PathGeometry
      • GeometryGroup
      • Representing Geometries as Strings
    • Strokes
      • Line Caps
      • Line Joins
      • Dashes
    • Conclusion

  • Chapter 4 - Text
    • Customizing Text Display
      • Basic Font Properties
      • Additional Customizations
      • Retrieving TextBlock Dimensions
    • Creating Rich Text Content
      • Run
      • LineBreak
    • Using Custom Fonts
      • Downloading Custom Fonts
      • Using the Glyphs Element
      • Converting Text into a Path
    • Conclusion

  • Chapter 5 - Brushes and Images
    • SolidColorBrush
    • LinearGradientBrush
    • RadialGradientBrush
    • ImageBrush and Image
    • VideoBrush
    • Brushes as Opacity Masks
    • Conclusion

  • Chapter 6 - Positioning and Transforming Elements
    • All About Canvas
      • Positioning Elements
      • Placing Elements Behind or in Front of Others
      • Controlling Size and Clipping
      • Creating Maintainable User Interfaces with Multiple Canvas Elements
    • Applying Transforms
      • RotateTransform
      • ScaleTransform
      • SkewTransform
      • TranslateTransform
      • MatrixTransform
      • Combining Transforms
    • Conclusion

Part III - Making Your Content Come to Life

  • Chapter 7 - Responding to Input Events
    • About Silverlight Events
      • Event Handlers
      • Attaching Event Handlers to Events
    • Mouse Events
      • Bounds and Hit Testing
      • More About the Mouse Pointer
      • Event Bubbling
      • Capturing the Mouse
      • Putting It All Together: Building a Scrollbar
      • Using Silverlight's Stylus Support
    • Keyboard Events
      • The Basics
      • Finding Out What Keys Were Pressed
    • Using Full-Screen Mode
    • Conclusion

  • Chapter 8 - Downloading Content on Demand
    • Initiating a Download
    • Using the Downloaded Content
    • Downloading Multiple Items Simultaneously in a .ZIP File
    • Displaying a Progress Bar
      • A Simple Progress Bar
      • Progress Bar Customizations
    • Conclusion

  • Chapter 9 - Animation
    • Introducing Animations
      • Performing Animation "By Hand"
      • Performing Animation with Silverlight Support
    • Interacting with Animations from JavaScript
      • Functions for Controlling a Storyboard
      • The Completed Event
    • Tweaking the Animation Timeline
      • BeginTime
      • SpeedRatio
      • AutoReverse
      • RepeatBehavior
      • FillBehavior
    • More About Storyboards
      • Specifying the Target Property
      • Specifying the Target Object
      • Treating a Storyboard Like an Animation
    • Keyframe Animations
      • Linear Keyframes
      • Spline Keyframes
      • Discrete Keyframes
    • Conclusion

  • Chapter 10 - Audio and Video
    • Playing Audio and Video with MediaElement
      • The Source Property
      • Visual Effects
      • Audio-Specific Features
      • Video-Specific Features
      • Progressive Download Versus Streaming
    • Controlling Audio and Video with JavaScript
      • Changing the Media's State
      • Basic Media Events
      • Positioning the Audio or Video
      • Using Timeline Markers
      • Building a Media Player User Interface
    • Using Expression Encoder
    • Conclusion

  • Index

© Copyright Pearson Education. All rights reserved.

Updates

Submit Errata

More Information

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.