Prologue:My last article was about Model Windows in LightSwitch. This article is about use of the Address Editor and Address Viewer.What is Address Editor?Address Editor in LightSwitch is another type of Layout for the Address fields. If you add an Address Editor in your screen, the LightSwitch automatically arranges the Layout for the address fields. The Address Editor contains the Row and Column layouts.The Address Editor is used to get the Address field values. What is Address Viewer?Address Viewer is nothing but the Read-only Address Editor. i.e. all the structure is same as the Address Editor but you won't be having the Label's and option to edit the Address. The Address Viewer is used simply to display the entered address.Let us see how to use the Address Editor and Address Viewer in LightSwitch Application in a demo application.Quick Note:In this demo application we are going to design a screen which accepts the Person details as input and saves into the database.Prepare the Solution:Fire up the VS 2010; create a LightSwitch Desktop Application with the name "AddressEditorAndViewerInLSBeta2" as shown in the figure. Follow the [No: #] to create a LightSwitch Desktop Application. For more details about how to create a LightSwitch Desktop Application please read this article.Creating Entity for Application:Create a table as shown in the screen by selecting the "create a table" option in the startup screen. Designing the Screen:First of all we need to add a New Data Screen to our demo application. We should know about how to add a New Data Screen to a LightSwitch application prior to proceeding with designing the Screen. To know more about how to add a new Data Screen to a LightSwitch Application please read this Article.Now we know how to do the screen stuff. See the following figure which is the default screen layout for the screen we have created. So we have to change this screen layout so that the Address Editor and Viewer can be easily explained. Before adding the Address Editor and Viewer we have to prepare the layout. So delete the Address fields as shown in the above figure.Adding Address Editor into the Screen:After preparing the layout to add an Address Editor, just add a new Group. As shown in the above figure: