How to: Create a Silverlight Screen
For the latest documentation on Visual Studio 2017, see Visual Studio 2017 Documentation.
Create a screen to display or collect information.
To create a screen
On the Project menu, click Add Screen.
The Add New Screen dialog box appears.
Under Select a screen template, select the type of screen that you want to create.
To learn more about screen types, see Choosing a Screen Type.
In the Screen Name box, type a name for the screen.
Under Screen Data, select a query from the drop-down list.
This specifies what data appears on the screen.
Under Additional Data to Include, select any related data to display on the screen.
This section lists entities or tables that are related to the data that you selected in the previous step. If you selected a query in the previous step, this section lists entities or tables related to the source data of the query that you selected. For more information about related data, see How to: Define Data Relationships.
Note
The Additional Data to Include section appears in the Add New Screen dialog box only if you are creating a New Data Screen, a Details Screen, or a List and Details Screen screen.
Click OK to close the Add New Screen dialog box.
LightSwitch creates a new screen and opens the screen in the screen designer.
See Also
Screens: The User Interface of Your LightSwitch Application
Choosing a Screen Type
How to: Design a Silverlight Screen by Using the Screen Designer