Step 3: Create a Screen
In this lesson, you will create a screen to enter, display, and change data in your contact management application. You will use the LightSwitch Add New Screen dialog box to select a screen template and specify the data to display.
Create a Screen
To create a screen for your application
In Solution Explorer, click the Screens node.
On the Project menu, click Add Screen.
The Add New Screen dialog box appears.
In the Select a screen template list, click Editable Grid Screen.
In the Screen Name field, type ContactList.
In the Screen Data drop-down list, select Contacts, and then click OK.
The Screen Designer opens and displays a representation of the layout and commands for the screen as shown in the following illustration:
Closer Look
You just created a screen that displays your contact data in a grid that you can edit. For this application, the default settings are appropriate, but you usually customize the screen in the Screen Designer. For example, you can hide an ID field, make a field read-only, or change the layout of some data.
Although you cannot see how the screen looks in the Screen Designer, you can run the application to see the screen. You can even make changes to the screen in the running application. This is covered in a later lesson.
Next Steps
In the next lesson, you will run your application and test its capabilities.
Next lesson: Step 4: Run and Test the Application
See Also
Tasks
How to: Customize a Silverlight Screen in a Running Application