Developing a word TextBox Control in LightSwitch using Visual Studio 2012
This article describes how to develop a word TextBox Control in LightSwitch using Visual Studio 2012.
Procedure for displaying data on a blank screen in LightSwitch using Visual Studio 2012
Step 1
Open the Solution Explorer.

Step 2
In the Solution Explorer, right-click on the Data Source and choose "Add Table".

Step 3
The table appears.

Step 4
In the Solution Explorer, right-click on the Screens and choose "Add Screen".

Step 5
Select "Add New Screen" from the Screen Templates. Under Screen Information we provide the Screen Name and Screen Data and then click "OK".

Step 6
The Screen Designer appears.

Step 7
In the Screen Designer by default for the word field a TextBox is available.

Step 8
From the drop down list choose the custom control option.

Step 9
Go to the property window for the word control and click on the "Change" hyperlink.

Step 10
The Add Custom Control dialog box appears on the window screen.

Step 11
In the Add Custom Control select the System.Windows.Controls node and choose the wordBox option and click "OK".

Step 12
To save the content of the wordbox we will do some coding.
using System;
using System.Linq;
using System.IO;
using System.IO.IsolatedStorage;


Join the conversation! Your thoughts help the community grow.