The Selection Start property represents the starting index of the selected text and Selection Length property represents the number of characters to be selected after the starting character.The following code snippet sets the selection on a Text Box. In this article, we discussed discuss how to create a Text Box control in Windows Forms at design-time as well as run-time.
If you click on the Font property in Properties window, you will see Font name, size and other font options.
But if you select a Text Box control and click on Tasks handle and check Multi Line Check Box, you will see height resizing grip handles are available on a Text Box and you can resize the height of a control.
You can also set borders style of a Text Box by using the Border Style property.
The Accepts Return property sets Text Box control to move to new line by simply pressing ENTER key.
By default, Accepts Return property of a Text Box control is false.
After that, I will continue discussing various properties and methods available for the Text Box control.