The properties of System.Windows.Forms.RichTextBox are listed below. For a list of all members, see the RichTextBox Members list.
See Also: Inherited members from System.Windows.Forms.TextBoxBase
override | AllowDrop | bool.
Gets or sets a value indicating whether the control will enable drag-and-drop operations. |
override | AutoSize | bool.
This property is not relevant to this class. |
| AutoWordSelection | bool.
Gets or sets a value indicating whether automatic word selection is enabled. | |
override | BackgroundImage | System.Drawing.Image.
This property is not relevant to this class. |
override | BackgroundImageLayout | ImageLayout.
This property is not relevant to this class. |
| BulletIndent | int.
Gets or sets the indentation used in the System.Windows.Forms.RichTextBox control when the bullet style is applied to the text. | |
| [read-only] | CanRedo | bool.
Gets a value indicating whether there are actions that have occurred within the System.Windows.Forms.RichTextBox that can be reapplied. |
| DetectUrls | bool.
Gets or sets a value indicating whether or not the System.Windows.Forms.RichTextBox will automatically format a Uniform Resource Locator (URL) when it is typed into the control. | |
| EnableAutoDragDrop | bool.
Gets or sets a value that enables drag-and-drop operations on text, pictures, and other data. | |
override | Font | System.Drawing.Font.
Gets or sets the font used when displaying text in the control. |
override | ForeColor | System.Drawing.Color.
Gets or sets the font color used when displaying text in the control. |
| LanguageOption | RichTextBoxLanguageOptions.
Gets or sets a value that indicates System.Windows.Forms.RichTextBox settings for Input Method Editor (IME) and Asian language support. | |
override | MaxLength | int.
Gets or sets the maximum number of characters the user can type or paste into the rich text box control. |
override | Multiline | bool.
Gets or sets a value indicating whether this is a multiline System.Windows.Forms.RichTextBox control. |
| [read-only] | RedoActionName | string.
Gets the name of the action that can be reapplied to the control when the RichTextBox.Redo method is called. |
| RichTextShortcutsEnabled | bool.
This property is not relevant for this class. | |
| RightMargin | int.
Gets or sets the size of a single line of text within the System.Windows.Forms.RichTextBox control. | |
| Rtf | string.
Gets or sets the text of the System.Windows.Forms.RichTextBox control, including all rich text format (RTF) codes. | |
| ScrollBars | RichTextBoxScrollBars.
Gets or sets the type of scroll bars to display in the System.Windows.Forms.RichTextBox control. | |
| SelectedRtf | string.
Gets or sets the currently selected rich text format (RTF) formatted text in the control. | |
override | SelectedText | string.
Gets or sets the selected text within the System.Windows.Forms.RichTextBox. |
| SelectionAlignment | HorizontalAlignment.
Gets or sets the alignment to apply to the current selection or insertion point. | |
| SelectionBackColor | System.Drawing.Color.
Gets or sets the color of text when the text is selected in a System.Windows.Forms.RichTextBox control. | |
| SelectionBullet | bool.
Gets or sets a value indicating whether the bullet style is applied to the current selection or insertion point. | |
| SelectionCharOffset | int.
Gets or sets whether text in the control appears on the baseline, as a superscript, or as a subscript below the baseline. | |
| SelectionColor | System.Drawing.Color.
Gets or sets the text color of the current text selection or insertion point. | |
| SelectionFont | System.Drawing.Font.
Gets or sets the font of the current text selection or insertion point. | |
| SelectionHangingIndent | int.
Gets or sets the distance between the left edge of the first line of text in the selected paragraph and the left edge of subsequent lines in the same paragraph. | |
| SelectionIndent | int.
Gets or sets the length, in pixels, of the indentation of the line where the selection starts. | |
override | SelectionLength | int.
Gets or sets the number of characters selected in control. |
| SelectionProtected | bool.
Gets or sets a value indicating whether the current text selection is protected. | |
| SelectionRightIndent | int.
The distance (in pixels) between the right edge of the System.Windows.Forms.RichTextBox control and the right edge of the text that is selected or added at the current insertion point. | |
| SelectionTabs | int[].
Gets or sets the absolute tab stop positions in a System.Windows.Forms.RichTextBox control. | |
| [read-only] | SelectionType | RichTextBoxSelectionTypes.
Gets the selection type within the control. |
| ShowSelectionMargin | bool.
Gets or sets a value indicating whether a selection margin is displayed in the System.Windows.Forms.RichTextBox. | |
override | Text | string.
Gets or sets the current text in the rich text box. |
| [read-only] override | TextLength | int. Documentation for this section has not yet been entered. |
| [read-only] | UndoActionName | string.
Gets the name of the action that can be undone in the control when the TextBoxBase.Undo method is called. |
| ZoomFactor | float.
Gets or sets the current zoom level of the System.Windows.Forms.RichTextBox. |
| [read-only] override | CreateParams | CreateParams.
Gets the required creation parameters when the control handle is created. |
| [read-only] override | DefaultSize | System.Drawing.Size.
Gets the default size of the control. |