The methods of the RichTextBox class are listed below. For a complete list of RichTextBox class members, see the RichTextBox Members topic.
AppendLink | Appends hyperlink to the current text of a text box. |
AppendRtf | Appends rich text format (RTF) formatted text to the current text of a text box. |
AppendText | Appends text to the current text of a text box. |
BeginInvoke (inherited from Control) | Overloaded. Executes the specified delegate asynchronously on the thread that the control's underlying handle was created on. |
BringToFront (inherited from Control) | Brings the control to the front of the z-order. |
CanPaste | Determines whether you can paste information from the Clipboard in the specified data format. |
Clear | Clears all text from the text box control. |
ClearUndo | Clears information about the most recent operation from the undo buffer of the text box. |
Copy | Copies the current selection in the text box to the Clipboard. |
CreateGraphics (inherited from Control) | Creates the Graphics for the control. |
CreateObjRef (inherited from MarshalByRefObject) | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. |
Cut | Moves the current selection in the text box to the Clipboard. |
DeselectAll | Specifies that the value of the SelectionLength property is zero so that no characters are selected in the control. |
Dispose (inherited from Component) | Overloaded. Releases all resources used by the Component. |
EndInvoke (inherited from Control) | Retrieves the return value of the asynchronous operation represented by the IAsyncResult passed. |
Equals (inherited from Object) | Determines whether the specified Object is equal to the current Object. |
Focus (inherited from Control) | Sets input focus to the control. |
GetHashCode (inherited from Object) | Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. |
GetLifetimeService (inherited from MarshalByRefObject) | Retrieves the current lifetime service object that controls the lifetime policy for this instance. |
GetType (inherited from Object) | Gets the Type of the current instance. |
Hide (inherited from Control) | Conceals the control from the user. |
InitializeLifetimeService (inherited from MarshalByRefObject) | Obtains a lifetime service object to control the lifetime policy for this instance. |
Invalidate (inherited from Control) | Overloaded. Invalidates the entire surface of the control and causes the control to be redrawn. |
Invoke (inherited from Control) | Overloaded. Executes the specified delegate on the thread that owns the control's underlying window handle. |
LoadFile | Overloaded. Loads a rich text format (RTF) or standard ASCII text file into the RichTextBox control. |
Paste | Replaces the current selection in the text box with the contents of the Clipboard. |
PointToClient (inherited from Control) | Computes the location of the specified screen point into client coordinates. |
PointToScreen (inherited from Control) | Computes the location of the specified client point into screen coordinates. |
RectangleToClient (inherited from Control) | Computes the size and location of the specified screen rectangle in client coordinates. |
RectangleToScreen (inherited from Control) | Computes the size and location of the specified client rectangle in screen coordinates. |
Redo | Reapplies the last operation that was undone in the control. |
Refresh (inherited from Control) | Forces the control to invalidate its client area and immediately redraw itself and any child controls. |
ResumeLayout (inherited from Control) | Overloaded. Resumes usual layout logic. |
SaveFile | Overloaded. Saves the contents of the RichTextBox to a rich text format (RTF) file. |
Scale (inherited from Control) | Scales the control and all child controls by the specified scaling factor. |
ScrollToCaret | Scrolls the contents of the control to the current caret position. |
Select | Selects a range of text in the text box. |
SelectAll | Selects all text in the text box. |
SelectNextControl (inherited from Control) | Activates the next control. |
SendToBack (inherited from Control) | Sends the control to the back of the z-order. |
Show (inherited from Control) | Displays the control to the user. |
SuspendLayout (inherited from Control) | Temporarily suspends the layout logic for the control. |
ToString (inherited from Object) | Returns a String that represents the current Object. |
Undo | Undoes the last edit operation in the text box. |
Update (inherited from Control) | Causes the control to redraw the invalidated regions within its client area. |
CreateControlsInstance (inherited from Control) | Creates a new instance of the control collection for the control. |
Dispose | Overloaded. Clean up any resources being used. |
Finalize (inherited from Component) | Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. |
GetScaledBounds (inherited from Control) | Retrieves the bounds within which the control is scaled. |
MemberwiseClone (inherited from MarshalByRefObject) | Overloaded. Creates a shallow copy of the current MarshalByRefObject object. |
MemberwiseClone (inherited from Object) | Overloaded. Creates a shallow copy of the current Object. |
OnBackColorChanged | Raises the BackColorChanged event. |
OnBindingContextChanged (inherited from Control) | Raises the BindingContextChanged event. |
OnClick (inherited from Control) | Raises the Click event. |
OnDoubleClick (inherited from Control) | Raises the DoubleClick event. |
OnEnabledChanged | Raises the System.Windows.Forms.Control.EnabledChanged event. |
OnForeColorChanged | Raises the ForeColorChanged event. |
OnGotFocus | Raises the System.Windows.Forms.Control.GotFocus event. |
OnHandleCreated (inherited from Control) | Raises the HandleCreated event. |
OnHandleDestroyed (inherited from Control) | Raises the HandleDestroyed event. |
OnHelpRequested (inherited from Control) | Raises the HelpRequested event. |
OnHideSelectionChanged | Raises the HideSelectionChanged event. |
OnHScroll | Raises the HScroll event. |
OnKeyDown (inherited from Control) | Raises the KeyDown event. |
OnKeyPress (inherited from Control) | Raises the KeyPress event. |
OnKeyUp (inherited from Control) | Raises the KeyUp event. |
OnLinkClicked | Raises the LinkClicked event. |
OnLostFocus | Raises the System.Windows.Forms.Control.LostFocus event. |
OnMouseDown (inherited from Control) | Raises the MouseDown event. |
OnMouseMove (inherited from Control) | Raises the MouseMove event. |
OnMouseUp | Raises the System.Windows.Forms.Control.MouseUp event. |
OnMultilineChanged | Raises the MultilineChanged event. |
OnPaint (inherited from Control) | Raises the Paint event. |
OnPaintBackground (inherited from Control) | Paints the background of the control. |
OnParentChanged | Raises the ParentChanged event and creates the child control window. |
OnProtected | Raises the Protected event. |
OnReadOnlyChanged | Raises the ReadOnlyChanged event. |
OnResize | Raises the System.Windows.Forms.Control.Resize event. |
OnSelectionChanged | Raises the SelectionChanged event. |
OnTextChanged | Raises the System.Windows.Forms.Control.TextChanged event. |
OnVScroll | Raises the VScroll event. |
ScaleControl (inherited from Control) | Scales a control's location, size, padding and margin. |
RichTextBox Class | Resco.Controls.RichTextBox Namespace