Gets or sets the current text in the text box.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
The amount of text that can be stored in the TextBox control.property is limited to 65 KB of memory for the
The amount of text that can be stored in theproperty is limited to the amount available system memory.
The following code example uses TextBox, a derived class, to create a multiline TextBox control with vertical scroll bars. This example also uses the AcceptsTab, AcceptsReturn, and WordWrap properties to make the multiline text box control useful for creating text documents.
Available since 1.1