Organize Screens Using Navigation Menu in Visual Studio LightSwitch 2012

In this article I explain how to organize screens and how to add a new group and how to set a startup screen in Visual Studio LightSwitch 2012.

Getting Started

  1. Open Visual Studio 2012.
  2. Go to "File" => "New" => "Project..."
  3. Select "LightSwitch" in installed templates.
  4. Select "LightSwitch Application (Visual C#)".
  5. Enter the Name and choose the location.
  6. Click "OK".

Next, add a Data Source and add screens as needed. This is my data source and screens screenshot:

img1.jpg

Image 1.

Now right-click on the Screen folder and click on "Edit Screen Navigation".

img2.jpg

Image 2.

Or right-click on the project and click "Properties" and select the "Screen Navigation" tab from the left bar.

img3.jpg

Image 3.

Here you will see the top bottom arrow that is used to move screens.

Once you click on "Include Screen" you will see all your screens in the list and you can choose a screen.

img4.jpg

Image 4.

If you want to create a new tab then simply click on "Add Group".

img5.jpg

Image 5.

If you want to change the startup screen then select the screen from the given screens and click on the Set button.

img6.jpg

Image 6.

Now press F5 to see the output.

img7.jpg

Image 7.

img8.jpg

Image 8.

Up Next
    Ebook Download
    View all
    Learn
    View all