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

  1. On the Project menu, click Add Screen.

    The Add New Screen dialog box appears.

  2. 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.

  3. In the Screen Name box, type a name for the screen.

  4. Under Screen Data, select a query from the drop-down list.

    This specifies what data appears on the screen.

  5. 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.


    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.

  6. 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