Beginning Silverlight 3: From Novice to Professional by Robert Lair (auth.)

By Robert Lair (auth.)

Starting Silverlight three: From amateur to specialist through Robert Lair. Apress,2009

Show description

Read or Download Beginning Silverlight 3: From Novice to Professional PDF

Similar programming: programming languages books

Extra resources for Beginning Silverlight 3: From Novice to Professional

Sample text

Select Project ~TRA Add New Item from the main menu. 4. In the Add New Item dialog box, make sure that the Visual C# category is selected on the left and select JScript File in the Templates pane. js, as shown in Figure 2-8. Then click the Add button. 21 CHAPTER 2 ■ INTRODUCTION TO VISUAL STUDIO 2008 Figure 2-8. Adding a JavaScript file to a project 5. The JavaScript file will be added to the project and opened by default. In this file, add a new function called HelloWorld(), as follows: function HelloWorld(FirstName, LastName) { return ("Hello " + FirstName + " " + LastName); } 6.

In the next chapter, you are going to start to dive into some of the Silverlight controls, beginning with the layout management controls. These controls enable you to lay out your Silverlight applications. 37 CHAPTER 3 ■■■ Layout Management in Silverlight 3 The previous chapter provided an overview of Visual Studio 2008, one of the primary tools used in developing Silverlight applications. In this chapter, you are going to start to dive into some Silverlight 3 development by looking at the layout management controls.

In this chapter, you are going to start to dive into some Silverlight 3 development by looking at the layout management controls. As you have learned, Silverlight applications consist of a number of Silverlight objects that are defined by XAML. Layout management involves describing the way that these objects are arranged in your application. Silverlight 3 includes five layout management controls: Canvas, StackPanel, Grid, WrapPanel, and DockPanel. You will take a look at each of these in-depth.

Download PDF sample

Rated 4.66 of 5 – based on 10 votes