Export (0) Print
Expand All

RichTextBox Events

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

Public Events

public eventAcceptsTabChanged (inherited from TextBoxBase) Occurs when the value of the AcceptsTab property has changed.
public eventAutoSizeChanged (inherited from TextBoxBase) Occurs when the value of the AutoSize property has changed.
public eventBackColorChanged (inherited from Control) Occurs when the value of the BackColor property changes.
public eventBindingContextChanged (inherited from Control) Occurs when the value of the BindingContext property changes.
public eventBorderStyleChanged (inherited from TextBoxBase) Occurs when the value of the BorderStyle property has changed.
public eventCausesValidationChanged (inherited from Control) Occurs when the value of the CausesValidation property changes.
public eventChangeUICues (inherited from Control) Occurs when the focus or keyboard user interface (UI) cues change.
public eventClick (inherited from TextBoxBase) Occurs when the text box is clicked.
public eventContentsResized Occurs when contents within the control are resized.
public eventContextMenuChanged (inherited from Control) Occurs when the value of the ContextMenu property changes.
public eventControlAdded (inherited from Control) Occurs when a new control is added to the Control.ControlCollection.
public eventControlRemoved (inherited from Control) Occurs when a control is removed from the Control.ControlCollection.
public eventCursorChanged (inherited from Control) Occurs when the value of the Cursor property changes.
public eventDisposed (inherited from Component) Adds an event handler to listen to the Disposed event on the component.
public eventDockChanged (inherited from Control) Occurs when the value of the Dock property changes.
public eventEnabledChanged (inherited from Control) Occurs when the Enabled property value has changed.
public eventEnter (inherited from Control) Occurs when the control is entered.
public eventFontChanged (inherited from Control) Occurs when the Font property value changes.
public eventForeColorChanged (inherited from Control) Occurs when the ForeColor property value changes.
public eventGotFocus (inherited from Control) Occurs when the control receives focus.
public eventHandleCreated (inherited from Control) Occurs when a handle is created for the control.
public eventHandleDestroyed (inherited from Control) Occurs when the control's handle is in the process of being destroyed.
public eventHelpRequested (inherited from Control) Occurs when the user requests help for a control.
public eventHideSelectionChanged (inherited from TextBoxBase) Occurs when the value of the HideSelection property has changed.
public eventHScroll Occurs when the user clicks the horizontal scroll bar of the control.
public eventImeChange Occurs when the user switches input methods on an Asian version of the Windows operating system.
public eventImeModeChanged (inherited from Control) Occurs when the ImeMode property has changed.
public eventInvalidated (inherited from Control) Occurs when a control's display requires redrawing.
public eventKeyDown (inherited from Control) Occurs when a key is pressed while the control has focus.
public eventKeyPress (inherited from Control) Occurs when a key is pressed while the control has focus.
public eventKeyUp (inherited from Control) Occurs when a key is released while the control has focus.
public eventLayout (inherited from Control) Occurs when a control should reposition its child controls.
public eventLeave (inherited from Control) Occurs when the input focus leaves the control.
public eventLinkClicked Occurs when the user clicks on a link within the text of the control.
public eventLocationChanged (inherited from Control) Occurs when the Location property value has changed.
public eventLostFocus (inherited from Control) Occurs when the control loses focus.
public eventModifiedChanged (inherited from TextBoxBase) Occurs when the value of the Modified property has changed.
public eventMouseDown (inherited from Control) Occurs when the mouse pointer is over the control and a mouse button is pressed.
public eventMouseEnter (inherited from Control) Occurs when the mouse pointer enters the control.
public eventMouseHover (inherited from Control) Occurs when the mouse pointer hovers over the control.
public eventMouseLeave (inherited from Control) Occurs when the mouse pointer leaves the control.
public eventMouseMove (inherited from Control) Occurs when the mouse pointer is moved over the control.
public eventMouseUp (inherited from Control) Occurs when the mouse pointer is over the control and a mouse button is released.
public eventMouseWheel (inherited from Control) Occurs when the mouse wheel moves while the control has focus.
public eventMove (inherited from Control) Occurs when the control is moved.
public eventMultilineChanged (inherited from TextBoxBase) Occurs when the value of the Multiline property has changed.
public eventPaint (inherited from Control) Occurs when the control is redrawn.
public eventParentChanged (inherited from Control) Occurs when the Parent property value changes.
public eventProtected Occurs when the user attempts to modify protected text in the control.
public eventQueryAccessibilityHelp (inherited from Control) Occurs when AccessibleObject is providing help to accessibility applications.
public eventReadOnlyChanged (inherited from TextBoxBase) Occurs when the value of the ReadOnly property has changed.
public eventResize (inherited from Control) Occurs when the control is resized.
public eventRightToLeftChanged (inherited from Control) Occurs when the RightToLeft property value changes.
public eventSelectionChanged Occurs when the selection of text within the control has changed.
public eventSizeChanged (inherited from Control) Occurs when the Size property value changes.
public eventStyleChanged (inherited from Control) Occurs when the control style changes.
public eventSystemColorsChanged (inherited from Control) Occurs when the system colors change.
public eventTabIndexChanged (inherited from Control) Occurs when the TabIndex property value changes.
public eventTabStopChanged (inherited from Control) Occurs when the TabStop property value changes.
public eventTextChanged (inherited from Control) Occurs when the Text property value changes.
public eventValidated (inherited from Control) Occurs when the control is finished validating.
public eventValidating (inherited from Control) Occurs when the control is validating.
public eventVisibleChanged (inherited from Control) Occurs when the Visible property value changes.
public eventVScroll Occurs when the user clicks the vertical scroll bars of the control.

See Also

RichTextBox Class | System.Windows.Forms Namespace

Show:
© 2014 Microsoft