Here we will see how to create a Multiline TextBox in a LightSwitch Application (Visual C#) in Visual Studio 2012.
The following is the procedure for creating a multiline TextBox.
Step 1Open the Solution Explorer.Step 2In the Solution Explorer, right-click on the Screens and choose "Add Screen".Step 3The Add New Screen dialog box appears. Select the "New Data Screen" from the Screen Template then under the screen information, choose "None" under the screen data and provide a name to the Screen and click the "OK" button.Step 4The Application Designer appears.Step 5Under Application Designer, go to the menu bar and select "Add Data Item".Step 6 The Add Data Item dialog box appears on the screen. Select the Local Property radio button and select the "String from Type" drop down, enter the name as "Multiple Line Note" and click "Ok".We will see that the Data Item is added to the left hand side of the Screen.Step 7Now drag the Data Item onto the Screen.Click on the Data Item (TextBox) and go to the property Window and click on the "Lines" radio button and enter the number of lines.Step 8Press F5 to run the application.
You need to be a premium member to use this feature. To access it, you'll have to upgrade your membership.
Become a sharper developer and jumpstart your career.
$0
$
. 00
monthly
For Basic members:
$20
For Premium members:
$45
For Elite members: