System.Windows.Forms.RichTextBox: Method Members

The methods 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

Public Methods

CanPaste(DataFormats.Format) : bool
Documentation for this section has not yet been entered.
DrawToBitmap(System.Drawing.Bitmap, System.Drawing.Rectangle)

This method is not relevant for this class.

Find(char[]) : int

Searches the text of a System.Windows.Forms.RichTextBox control for the first instance of a character from a list of characters.

Find(string) : int

Searches the text in a System.Windows.Forms.RichTextBox control for a string.

Find(char[], int) : int

Searches the text of a System.Windows.Forms.RichTextBox control, at a specific starting point, for the first instance of a character from a list of characters.

Find(string, RichTextBoxFinds) : int

Searches the text in a System.Windows.Forms.RichTextBox control for a string with specific options applied to the search.

Find(char[], int, int) : int

Searches a range of text in a System.Windows.Forms.RichTextBox control for the first instance of a character from a list of characters.

Find(string, int, RichTextBoxFinds) : int

Searches the text in a System.Windows.Forms.RichTextBox control for a string at a specific location within the control and with specific options applied to the search.

Find(string, int, int, RichTextBoxFinds) : int

Searches the text in a System.Windows.Forms.RichTextBox control for a string within a range of text within the control and with specific options applied to the search.

GetCharFromPosition(System.Drawing.Point) : char
Documentation for this section has not yet been entered.
override
GetCharIndexFromPosition(System.Drawing.Point) : int

Retrieves the index of the character nearest to the specified location.

override
GetLineFromCharIndex(int) : int

Retrieves the line number from the specified character position within the text of the System.Windows.Forms.RichTextBox control.

override
GetPositionFromCharIndex(int) : System.Drawing.Point

Retrieves the location within the control at the specified character index.

LoadFile(string)

Loads a rich text format (RTF) or standard ASCII text file into the System.Windows.Forms.RichTextBox control.

LoadFile(System.IO.Stream, RichTextBoxStreamType)

Loads the contents of an existing data stream into the System.Windows.Forms.RichTextBox control.

LoadFile(string, RichTextBoxStreamType)

Loads a specific type of file into the System.Windows.Forms.RichTextBox control.

Paste(DataFormats.Format)
Documentation for this section has not yet been entered.
Redo()

Reapplies the last operation that was undone in the control.

SaveFile(string)

Saves the contents of the System.Windows.Forms.RichTextBox to a rich text format (RTF) file.

SaveFile(System.IO.Stream, RichTextBoxStreamType)

Saves the contents of a System.Windows.Forms.RichTextBox control to an open data stream.

SaveFile(string, RichTextBoxStreamType)

Saves the contents of the System.Windows.Forms.RichTextBox to a specific type of file.

Protected Methods

CreateRichEditOleCallback() : object

Creates an IRichEditOleCallback-compatible object for handling rich-edit callback operations.

override
OnBackColorChanged(EventArgs)

Raises the Control.BackColorChanged event.

OnContentsResized(ContentsResizedEventArgs)

Raises the RichTextBox.ContentsResized event.

override
OnContextMenuChanged(EventArgs)

Raises the Control.ContextMenuChanged event.

override
OnHandleCreated(EventArgs)

Raises the Control.HandleCreated event.

override
OnHandleDestroyed(EventArgs)

Raises the Control.HandleDestroyed event.

OnHScroll(EventArgs)

Raises the RichTextBox.HScroll event.

OnImeChange(EventArgs)

Raises the RichTextBox.ImeChange event.

OnLinkClicked(LinkClickedEventArgs)

Raises the RichTextBox.LinkClicked event.

OnProtected(EventArgs)

Raises the RichTextBox.Protected event.

override
OnRightToLeftChanged(EventArgs)
Documentation for this section has not yet been entered.
OnSelectionChanged(EventArgs)

Raises the RichTextBox.SelectionChanged event.

override
OnSystemColorsChanged(EventArgs)
Documentation for this section has not yet been entered.
override
OnTextChanged(EventArgs)
Documentation for this section has not yet been entered.
OnVScroll(EventArgs)

Raises the RichTextBox.VScroll event.

override
ProcessCmdKey(ref Message, Keys) : bool
Documentation for this section has not yet been entered.
override
WndProc(ref Message)
Documentation for this section has not yet been entered.