--- title: "TextBox Control" description: Learn about various aspects of the Windows Forms TextBox control including using it for editable text and making it read-only. ms.date: "03/30/2017" helpviewer_keywords: - "text boxes" - "TextBox control [Windows Forms]" ms.assetid: e5a06987-8aec-4271-b196-2245ba992d62 --- # TextBox Control (Windows Forms) Windows Forms text boxes are used to get input from the user or to display text. The `TextBox` control is generally used for editable text, although it can also be made read-only. Text boxes can display multiple lines, wrap text to the size of the control, and add basic formatting. The `TextBox` control allows a single format for text displayed or entered in the control. ## In This Section [TextBox Control Overview](textbox-control-overview-windows-forms.md) Explains what this control is and its key features and properties. [How to: Control the Insertion Point in a Windows Forms TextBox Control](how-to-control-the-insertion-point-in-a-windows-forms-textbox-control.md) Gives directions for specifying where the insertion point appears when an edit control first gets the focus. [How to: Create a Password Text Box with the Windows Forms TextBox Control](how-to-create-a-password-text-box-with-the-windows-forms-textbox-control.md) Explains how to conceal what is typed into a text box. [How to: Create a Read-Only Text Box](how-to-create-a-read-only-text-box-windows-forms.md) Describes how to prevent the contents of a text box from being changed. [How to: Put Quotation Marks in a String](how-to-put-quotation-marks-in-a-string-windows-forms.md) Explains adding quotation marks to a string in a text box. [How to: Select Text in the Windows Forms TextBox Control](how-to-select-text-in-the-windows-forms-textbox-control.md) Explains how to highlight text in a text box. [How to: View Multiple Lines in the Windows Forms TextBox Control](how-to-view-multiple-lines-in-the-windows-forms-textbox-control.md) Describes how to make a text box scrollable. ## Reference class Describes this class and has links to all its members. ## Related Sections [Controls to Use on Windows Forms](controls-to-use-on-windows-forms.md) Provides a complete list of Windows Forms controls, with links to information on their use.