RichTextBox Events

The RichTextBox type exposes the following members.

  NameDescription
Public event AcceptsTabChanged Occurs when the value of the AcceptsTab property has changed. (Inherited from TextBoxBase.)
Public event AutoSizeChanged Infrastructure. This event is not relevant for this class. (Inherited from TextBoxBase.)
Public event BackColorChanged Occurs when the value of the BackColor property changes. (Inherited from Control.)
Public event BackgroundImageChanged Occurs when the value of the BackgroundImage property changes.
Public event BackgroundImageLayoutChanged Infrastructure. Occurs when the value of the BackgroundImageLayout property changes.
Public event BindingContextChanged Occurs when the value of the BindingContext property changes. (Inherited from Control.)
Public event BorderStyleChanged Occurs when the value of the BorderStyle property has changed. (Inherited from TextBoxBase.)
Public event CausesValidationChanged Occurs when the value of the CausesValidation property changes. (Inherited from Control.)
Public event ChangeUICues Occurs when the focus or keyboard user interface (UI) cues change. (Inherited from Control.)
Public event Click Occurs when the text box is clicked. (Inherited from TextBoxBase.)
Public event ClientSizeChanged Occurs when the value of the ClientSize property changes. (Inherited from Control.)
Public event ContentsResized Occurs when contents within the control are resized.
Public event ContextMenuChanged Occurs when the value of the ContextMenu property changes. (Inherited from Control.)
Public event ContextMenuStripChanged Occurs when the value of the ContextMenuStrip property changes. (Inherited from Control.)
Public event ControlAdded Occurs when a new control is added to the Control.ControlCollection. (Inherited from Control.)
Public event ControlRemoved Occurs when a control is removed from the Control.ControlCollection. (Inherited from Control.)
Public event CursorChanged Occurs when the value of the Cursor property changes. (Inherited from Control.)
Public event Disposed Occurs when the component is disposed by a call to the Dispose method. (Inherited from Component.)
Public event DockChanged Occurs when the value of the Dock property changes. (Inherited from Control.)
Public event DoubleClick Occurs when the control is double-clicked. (Inherited from Control.)
Public event DragDrop Occurs when the user completes a drag-and-drop
Public event DragEnter Occurs when an object is dragged into the control's bounds.
Public event DragLeave Infrastructure. Occurs when an object is dragged out of the control's bounds.
Public event DragOver Infrastructure. Occurs when an object is dragged over the control's bounds.
Public event EnabledChanged Occurs when the Enabled property value has changed. (Inherited from Control.)
Public event Enter Occurs when the control is entered. (Inherited from Control.)
Public event FontChanged Occurs when the Font property value changes. (Inherited from Control.)
Public event ForeColorChanged Occurs when the ForeColor property value changes. (Inherited from Control.)
Public event GiveFeedback Infrastructure. Occurs during a drag operation.
Public event GotFocus Occurs when the control receives focus. (Inherited from Control.)
Public event HandleCreated Occurs when a handle is created for the control. (Inherited from Control.)
Public event HandleDestroyed Occurs when the control's handle is in the process of being destroyed. (Inherited from Control.)
Public event HelpRequested Occurs when the user requests help for a control. (Inherited from Control.)
Public event HideSelectionChanged Occurs when the value of the HideSelection property has changed. (Inherited from TextBoxBase.)
Public event HScroll Occurs when the user clicks the horizontal scroll bar of the control.
Public event ImeChange Occurs when the user switches input methods on an Asian version of the Windows operating system.
Public event ImeModeChanged Occurs when the ImeMode property has changed. (Inherited from Control.)
Public event Invalidated Occurs when a control's display requires redrawing. (Inherited from Control.)
Public event KeyDown Occurs when a key is pressed while the control has focus. (Inherited from Control.)
Public event KeyPress Occurs when a key is pressed while the control has focus. (Inherited from Control.)
Public event KeyUp Occurs when a key is released while the control has focus. (Inherited from Control.)
Public event Layout Occurs when a control should reposition its child controls. (Inherited from Control.)
Public event Leave Occurs when the input focus leaves the control. (Inherited from Control.)
Public event LinkClicked Occurs when the user clicks on a link within the text of the control.
Public event LocationChanged Occurs when the Location property value has changed. (Inherited from Control.)
Public event LostFocus Occurs when the control loses focus. (Inherited from Control.)
Public event MarginChanged Occurs when the control's margin changes. (Inherited from Control.)
Public event ModifiedChanged Occurs when the value of the Modified property has changed. (Inherited from TextBoxBase.)
Public event MouseCaptureChanged Occurs when the control loses mouse capture. (Inherited from Control.)
Public event MouseClick Occurs when the control is clicked by the mouse. (Inherited from TextBoxBase.)
Public event MouseDoubleClick Occurs when the control is double clicked by the mouse. (Inherited from Control.)
Public event MouseDown Occurs when the mouse pointer is over the control and a mouse button is pressed. (Inherited from Control.)
Public event MouseEnter Occurs when the mouse pointer enters the control. (Inherited from Control.)
Public event MouseHover Occurs when the mouse pointer rests on the control. (Inherited from Control.)
Public event MouseLeave Occurs when the mouse pointer leaves the control. (Inherited from Control.)
Public event MouseMove Occurs when the mouse pointer is moved over the control. (Inherited from Control.)
Public event MouseUp Occurs when the mouse pointer is over the control and a mouse button is released. (Inherited from Control.)
Public event MouseWheel Occurs when the mouse wheel moves while the control has focus. (Inherited from Control.)
Public event Move Occurs when the control is moved. (Inherited from Control.)
Public event MultilineChanged Occurs when the value of the Multiline property has changed. (Inherited from TextBoxBase.)
Public event PaddingChanged Infrastructure. This event is not relevant for this class. (Inherited from TextBoxBase.)
Public event Paint Infrastructure. Occurs when the control is redrawn. This event is not relevant for this class. (Inherited from TextBoxBase.)
Public event ParentChanged Occurs when the Parent property value changes. (Inherited from Control.)
Public event PreviewKeyDown Occurs before the KeyDown event when a key is pressed while focus is on this control. (Inherited from Control.)
Public event Protected Occurs when the user attempts to modify protected text in the control.
Public event QueryAccessibilityHelp Occurs when AccessibleObject is providing help to accessibility applications. (Inherited from Control.)
Public event QueryContinueDrag Infrastructure. This event is not relevant to this class.
Public event ReadOnlyChanged Occurs when the value of the ReadOnly property has changed. (Inherited from TextBoxBase.)
Public event RegionChanged Occurs when the value of the Region property changes. (Inherited from Control.)
Public event Resize Occurs when the control is resized. (Inherited from Control.)
Public event RightToLeftChanged Occurs when the RightToLeft property value changes. (Inherited from Control.)
Public event SelectionChanged Occurs when the selection of text within the control has changed.
Public event SizeChanged Occurs when the Size property value changes. (Inherited from Control.)
Public event StyleChanged Occurs when the control style changes. (Inherited from Control.)
Public event SystemColorsChanged Occurs when the system colors change. (Inherited from Control.)
Public event TabIndexChanged Occurs when the TabIndex property value changes. (Inherited from Control.)
Public event TabStopChanged Occurs when the TabStop property value changes. (Inherited from Control.)
Public event TextChanged Occurs when the Text property value changes. (Inherited from Control.)
Public event Validated Occurs when the control is finished validating. (Inherited from Control.)
Public event Validating Occurs when the control is validating. (Inherited from Control.)
Public event VisibleChanged Occurs when the Visible property value changes. (Inherited from Control.)
Public event VScroll Occurs when the user clicks the vertical scroll bars of the control.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft