Export (0) Print
Expand All

RichTextBox Control (Windows Forms)

Visual Studio .NET 2003

The Windows Forms RichTextBox control is used for displaying, entering, and manipulating text with formatting. The RichTextBox control does everything the TextBox control does, but it can also display fonts, colors, and links; load text and embedded images from a file; undo and redo editing operations; and find specified characters. The RichTextBox control is typically used to provide text manipulation and display features similar to word processing applications such as Microsoft Word. Like the TextBox control, the RichTextBox control can display scroll bars; but unlike the TextBox control, it displays both horizontal and vertical scrollbars by default and has additional scrollbar settings.

In This Section

Introduction to the Windows Forms RichTextBox Control
Introduces the general concepts of the RichTextBox control, which allows users to enter, display, and manipulate text with formatting options.
Determining When Formatting Attributes Change in the Windows Forms RichTextBox Control
Explains how to keep track of changes in font and paragraph formatting in the RichTextBox control.
Displaying Scrollbars in the Windows Forms RichTextBox Control
Describes the many choices available for scroll bars in the RichTextBox control.
Displaying Web-Style Links with the Windows Forms RichTextBox Control
Explains how to link to Web sites from the RichTextBox control.
Enabling Drag-and-Drop Operations with the Windows Forms RichTextBox Control
Provides instructions for dragging data into the RichTextBox control.
Loading Files into the Windows Forms RichTextBox Control
Provides instructions for loading an existing file into the RichTextBox control.
Saving Files with the Windows Forms RichTextBox Control
Provides instructions for saving the contents of the RichTextBox control to a file.
Setting Font Attributes for the Windows Forms RichTextBox Control
Describes how to set the font family, size, style, and color of text in the RichTextBox control.
Setting Indents, Hanging Indents, and Bulleted Paragraphs with the Windows Forms RichTextBox Control
Describes how to format paragraphs in the RichTextBox control.

Related Sections

Controls You Can Use on Windows Forms
Provides a complete list of Windows Forms controls, with links to information on their use.
RichTextBox Class
Provides reference information on the RichTextBox class and its members.
TextBox Control (Windows Forms)
Introduces the general concepts of the TextBox control, which allows editable, multiline input from the user.
Show:
© 2014 Microsoft