Contents


foreword
preface
acknowledgments
about this book

1 Introducing Silverlight
Silverlight up your life
Why can’t we be friends?
XAML
Blending it together
Summary

 
2 Harmony with the web
The relationship between Silverlight and the HTML DOM
Creating a Silverlight plug-in
Integrating a Silverlight plug-in
The Silverlight Application Model
Interacting with the HTML DOM
Summary

 
3 Back to the basics: Layout and text
A Canvas for your imagination
The StackPanel: Stack ’em deep
The power Grid
Displaying text
The UIElement and FrameworkElement
Summary

 
4 Handling user interaction
Understanding device support
Delivering text controls
Button controls
The ItemsControl
Date controls
Choosing from a numeric range
Displaying visual prompts
Miscellaneous controls
Summary

 
5 Getting down with data binding
Binding with your data
Understanding your data source
Customizing the display
The DataGrid
Language Integrated Query (LINQ)
Summary

 
6 Networking and communications
Trust, security, and browser limitations
Connecting to data sources
Making the data usable
Using advanced services
Summary

 
7 Managing digital media
Stunning audio and video
Playlists: for that web-based mixtape
Interactive playback
Using protected content
Using images in your application
The 7th inning stretch: Dealing with dead space
Summary

 
8 Getting a grip on graphics
Getting in shape
Geometry
Brushes
Transforms
Blending it together
Summary

 
9 Bringing it to life: Animation
Animation: It’s about time
Mastering the timeline
Storyboarding
Key framing
Summary

 
10 Giving it style
Being resourceful
Giving your elements style
Creating templates
Dealing with visual states
Leveraging the VisualStateManager
Sharing your effects
Summary

 
11 Enhancing the experience
Storing data in isolated storage
Using XAML at runtime
BackgroundWorker
Retrieving content on demand
The Dynamic Language Runtime (DLR)
Summary

 
12 Share the light: Distribution and deployment
Creating a user control
Architecting navigation in Silverlight
Using a custom splash screen
Hosting with Silverlight Streaming
Summary