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

Test your knowledge


  1. 1. You are developing a web application using Silverlight 4. In your application, you have a Grid element. On the top of your page, you have the following code:

    <UserControl.Resources>
    <SolidColorBrush x:Key='GridBackground' Color='Black'/>
    </UserControl.Resources>
    

    The Grid element looks as follows:

    <Grid x:Name='LayoutRoot' Background='White'></Grid>
    

    What will be the background color of the Grid?

    a. Black

    b. White

    c. Impossible to know

    d. Azure

  2. 2. You are developing a Silverlight 4 application. Your application contains a custom control with various visual states. You need to change the visual state of the control to a visual state called 'Hover'. Which code should you use?

    a.<VisualState ChangeTo='Hover'></VisualState>

    b.<Storyboard To='Hover'></Storyboard>

    c. VisualStateManager.GoToState(this,'Hover',true);

    d.<VisualState>

    <Storyboard ChangeTo='Hover'></Storyboard>

    </VisualState>

  3. 3. You are...