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

Chapter 3. Enhancing the User Interface

Armed with the knowledge from the previous chapter, we will continue to dive deep into the user interface layer of Silverlight. While the previous chapter dealt with the core concepts of laying a user interface in Silverlight, in this chapter we are going to discuss some of the more 'fun' features of Silverlight, such as templates, animations, and behaviors. Just like before, we have a lot to cover, so let's get started!

In this chapter, we will cover the following topics:

  • Creating or modifying the control styles

  • Creating control templates

  • Creating or modifying data templates

  • Manipulating visuals

  • Animating visuals

  • Implementing behaviors

  • Managing the visual state

Creating or modifying the control styles

Just like in real life, first impressions mean a lot. When your users need to fill out a form for example, which is more likely to get their attention, the plain old vanilla form or a customized styled form? The answer in most cases is a customized one.

Take...