MobileForms Toolkit Documentation

RichTextBox Methods

The methods of the RichTextBox class are listed below. For a complete list of RichTextBox class members, see the RichTextBox Members topic.

Public Instance Methods

AppendLinkAppends hyperlink to the current text of a text box.
AppendRtfAppends rich text format (RTF) formatted text to the current text of a text box.
AppendTextAppends 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.
CanPasteDetermines whether you can paste information from the Clipboard in the specified data format.
ClearClears all text from the text box control.
ClearUndoClears information about the most recent operation from the undo buffer of the text box.
CopyCopies 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.
CutMoves the current selection in the text box to the Clipboard.
DeselectAllSpecifies 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.
LoadFileOverloaded. Loads a rich text format (RTF) or standard ASCII text file into the RichTextBox control.
PasteReplaces 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.
RedoReapplies 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.
SaveFileOverloaded. 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.
ScrollToCaretScrolls the contents of the control to the current caret position.
SelectSelects a range of text in the text box.
SelectAllSelects 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.
UndoUndoes the last edit operation in the text box.
Update (inherited from Control)Causes the control to redraw the invalidated regions within its client area.

Protected Instance Methods

CreateControlsInstance (inherited from Control)Creates a new instance of the control collection for the control.
DisposeOverloaded. 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.
OnBackColorChangedRaises 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.
OnEnabledChangedRaises the System.Windows.Forms.Control.EnabledChanged event.
OnForeColorChangedRaises the ForeColorChanged event.
OnGotFocusRaises 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.
OnHideSelectionChangedRaises the HideSelectionChanged event.
OnHScrollRaises 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.
OnLinkClickedRaises the LinkClicked event.
OnLostFocusRaises the System.Windows.Forms.Control.LostFocus event.
OnMouseDown (inherited from Control)Raises the MouseDown event.
OnMouseMove (inherited from Control)Raises the MouseMove event.
OnMouseUpRaises the System.Windows.Forms.Control.MouseUp event.
OnMultilineChangedRaises the MultilineChanged event.
OnPaint (inherited from Control)Raises the Paint event.
OnPaintBackground (inherited from Control)Paints the background of the control.
OnParentChangedRaises the ParentChanged event and creates the child control window.
OnProtectedRaises the Protected event.
OnReadOnlyChangedRaises the ReadOnlyChanged event.
OnResizeRaises the System.Windows.Forms.Control.Resize event.
OnSelectionChangedRaises the SelectionChanged event.
OnTextChangedRaises the System.Windows.Forms.Control.TextChanged event.
OnVScrollRaises the VScroll event.
ScaleControl (inherited from Control)Scales a control's location, size, padding and margin.

See Also

RichTextBox Class | Resco.Controls.RichTextBox Namespace