Text Box

The Text Box control is used for entering and editing alphanumeric text. This is a very basic control as it accepts only text as content.

Unlike the single line capability of a Label control, however, a text box has an AcceptsReturn property that allows text to appear on multiple lines. In addition, a text box has a TextWrapping property that provides options for automatically wrapping text within the box’s parameters.

Setting text on a text box is done using the Text property.

See Common Controls to view the usage and description of the properties for this control.