Book Image

MCTS: Microsoft Silverlight 4 Development (70-506) Certification Guide

By : Johnny Tordgeman
Book Image

MCTS: Microsoft Silverlight 4 Development (70-506) Certification Guide

By: Johnny Tordgeman

Overview of this book

Microsoft Silverlight is a powerful development platform for creating engaging, interactive applications for many screens across the Web, desktop, and mobile devices. Silverlight is also a great (and growing) Line-Of-Business platform and is increasingly being used to build data-driven business applications. Silverlight is based on familiar .NET languages such as C# which enables existing .NET developers to get started developing rich internet applications almost immediately. "MCTS: Microsoft Silverlight 4 Development (70-506) Certification Guide" will show you how to prepare for and pass the (70-506): TS: Microsoft Silverlight 4 Development exam.Packed with practical examples and Q&As, MCTS: Microsoft Silverlight 4 Development (70-506) Certification Guide starts by showing you how to lay out a user interface, enhance the user interface, implement application logic, work with data and interact with a host platform amongst others.
Table of Contents (15 chapters)
MCTS: Microsoft Silverlight 4 Development (70-506) Certification Guide
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface

Animating visuals


Animation is a first-class citizen in Silverlight. In LOB type of applications, animations can be used to enhance the user experience. Think about page transitioning in your application. Would users rather have a dull "screen-for-screen" type of transition where the pages just replace one another, or a nice subtle smooth transition where the pages slide, one next to another?

In Silverlight, the animation framework is time based. That means that you set a start and end position, and Silverlight takes care of the interpolation. Animations are best created using Microsoft Expression Blend and not directly with code. Every animation must have a storyboard, which is an object that is responsible for organizing and controlling the animation defined within it. Storyboard is the root of all animations, and for this reason, we will begin our discussion on this subject with it.

Creating storyboards

A Storyboard must contain an animation. Silverlight offers three types of animations...