Back to Devexpress

RichEditControl Events

windowsforms-devexpress-dot-xtrarichedit-dot-richeditcontrol-dot-underscore-events.md

latest45.5 KB
Original Source

RichEditControl Events

Represents a RichEdit control which is a container for the rich-text document providing all the necessary functionality.

NameDescription
ActiveRecordChangedOccurs after traversing to the next data record in a mail merge data source.
ActiveRecordChangingOccurs before traversing to the next data record in a mail merge data source.
ActiveViewChangedOccurs when the value of the RichEditControl.ActiveView property is changed.
AfterExportOccurs after the document is successfully exported.
AutoCorrectFires when text is typed in the control.
AutoSizeChangedThis event is not relevant for this class. Inherited from Control.
BackColorChangedOccurs when the value of the BackColor property changes. Inherited from Control.
BackgroundImageChangedOccurs when the value of the BackgroundImage property changes. Inherited from Control.
BackgroundImageLayoutChangedOccurs when the BackgroundImageLayout property changes. Inherited from Control.
BeforeDisposeOccurs before the RichEdit control is released from memory
BeforeEncodingDetectionOccurs before detection of the loaded plain text or HTML encoding.
BeforeExportOccurs before the document is saved (exported to a certain format).
BeforeImportOccurs before a document is loaded (imported from an external source).
BeforePagePaintEnables you to specify a custom PagePainter descendant to alter the way the layout elements are drawn.
BindingContextChangedOccurs when the value of the BindingContext property changes. Inherited from Control.
BookmarkFormShowingOccurs before the Bookmark dialog is invoked.
BorderShadingFormShowingOccurs before the Borders and Shading dialog is invoked.
CalculateDocumentVariableFires when the DOCVARIABLE field is updated.
CausesValidationChangedOccurs when the value of the CausesValidation property changes. Inherited from Control.
ChangeUICuesOccurs when the focus or keyboard user interface (UI) cues change. Inherited from Control.
ClickOccurs when the control is clicked. Inherited from Control.
ClientSizeChangedOccurs when the value of the ClientSize property changes. Inherited from Control.
ClipboardSetDataExceptionOccurs when an exception is thrown while trying to place data onto the Clipboard.
CloseReviewingPaneOccurs when closing the reviewing pane displaying document comments.
ColumnsSetupFormShowingOccurs before the Columns dialog is invoked.
CommentInsertedOccurs after a new comment is created in the document.
ContentChangedOccurs when the document content was changed.
ContextMenuChangedOccurs when the value of the ContextMenu property changes. Inherited from Control.
ContextMenuStripChangedOccurs when the value of the ContextMenuStrip property changes. Inherited from Control.
ControlAddedOccurs when a new control is added to the Control.ControlCollection. Inherited from Control.
ControlRemovedOccurs when a control is removed from the Control.ControlCollection. Inherited from Control.
ConvertNotesFormShowingOccurs before the Convert Notes dialog is invoked.
CursorChangedOccurs when the value of the Cursor property changes. Inherited from Control.
CustomDrawActiveViewOccurs before the active RichEdit view is displayed, and enables you to draw graphics on the document area.
CustomizeMergeFieldsFires when the ‘Insert Merge Field’ command button is clicked, and enables you to customize a drop-down field list.
CustomMarkDrawFires before a custom mark is painted, and enables you to visualize the custom mark as required.
CustomPropertiesChangedOccurs when one of the DocumentCustomProperties has changed.
DecryptionFailedOccurs if the RichEditControl failed to open an encrypted file.
DeleteTableCellsFormShowingOccurs before the Delete Cells dialog is invoked.
DisposedOccurs when the component is disposed by a call to the Dispose() method. Inherited from Component.
DocBytesChangedThis member supports the internal infrastructure and is not intended to be used directly from your code.
DockChangedOccurs when the value of the Dock property changes. Inherited from Control.
DocmBytesChangedThis member supports the internal infrastructure and is not intended to be used directly from your code.
DocumentClosingOccurs when a document that contains unsaved changes is about to be closed.
DocumentEncryptionChangedOccurs after one of the DocumentEncryption properties has been changed.
DocumentLoadedOccurs after a document is loaded into the RichEdit control.
DocumentPropertiesChangedOccurs after one of the DocumentProperties has changed.
DocumentPropertiesFormShowingOccurs before the Document Properties dialog is invoked.
DocumentProtectionChangedFires when the document protection is enforced or dropped.
DocumentProtectionQueryNewPasswordFormShowingOccurs before the Document Protection dialog is invoked.
DocumentProtectionQueryPasswordFormShowingOccurs before the Unprotect Document dialog is invoked.
DotBytesChangedThis member supports the internal infrastructure and is not intended to be used directly from your code.
DotmBytesChangedThis member supports the internal infrastructure and is not intended to be used directly from your code.
DotxBytesChangedThis member supports the internal infrastructure and is not intended to be used directly from your code.
DoubleClickOccurs when the control is double-clicked. Inherited from Control.
DragDropOccurs when a drag-and-drop operation is completed. Inherited from Control.
DragEnterOccurs when an object is dragged into the control’s bounds. Inherited from Control.
DragLeaveOccurs when an object is dragged out of the control’s bounds. Inherited from Control.
DragOverOccurs when an object is dragged over the control’s bounds. Inherited from Control.
EditStyleFormShowingFires before the Style Editor dialog is displayed.
EmptyDocumentCreatedOccurs when a new document is created in the RichEdit Control.
EnabledChangedOccurs when the Enabled property value has changed. Inherited from Control.
EncryptDocumentFormShowingOccurs before the Encrypt Document Dialog is invoked.
EncryptedFileIntegrityCheckFailedOccurs when the encrypted file does not pass data integrity verification.
EncryptedFilePasswordCheckFailedOccurs when the encryption password is empty or invalid.
EncryptedFilePasswordRequestedOccurs when the RichEditDocumentImportOptions.EncryptionPassword property is not set.
EnterOccurs when the control is entered. Inherited from Control.
FinishHeaderFooterEditingOccurs when the end-user finishes editing a header or footer.
FlatOpcBytesChangedThis member supports the internal infrastructure and is not intended to be used directly from your code.
FlatOpcMacroEnabledBytesChangedThis member supports the internal infrastructure and is not intended to be used directly from your code.
FlatOpcMacroEnabledTemplateBytesChangedThis member supports the internal infrastructure and is not intended to be used directly from your code.
FlatOpcTemplateBytesChangedThis member supports the internal infrastructure and is not intended to be used directly from your code.
FloatingInlineObjectLayoutOptionsFormShowingRaised before the Inline and Floating Object Layout Dialog is shown.
FontChangedOccurs when the Font property value changes. Inherited from Control.
FontFormShowingOccurs before the Font dialog is invoked.
ForeColorChangedOccurs when the ForeColor property value changes. Inherited from Control.
GiveFeedbackOccurs during a drag operation. Inherited from Control.
GotFocusOccurs when the control receives focus. Inherited from Control.
HandleCreatedOccurs when a handle is created for the control. Inherited from Control.
HandleDestroyedOccurs when the control’s handle is in the process of being destroyed. Inherited from Control.
HelpRequestedOccurs when the user requests help for a control. Inherited from Control.
HtmlTextChangedThis member supports the internal infrastructure and is not intended to be used directly from your code.
HyperlinkClickOccurs when an end-user clicks the hyperlink to activate it.
HyperlinkFormShowingOccurs before the Edit Hyperlink dialog is invoked.
HyphenationFormShowingOccurs before the Hyphenation dialog is invoked.
ImeModeChangedOccurs when the ImeMode property has changed. Inherited from Control.
InitializeDocumentOccurs before a document is loaded. Handle this event to set initial document settings.
InsertMergeFieldFormShowingOccurs before the Insert Merge Field dialog is invoked.
InsertObjectFormShowingOccurs before the Object Dialog is invoked.
InsertTableCellsFormShowingOccurs before the Insert Cells dialog is invoked.
InsertTableFormShowingOccurs before the Insert Table dialog is invoked.
InvalidatedOccurs when a control’s display requires redrawing. Inherited from Control.
InvalidFormatExceptionFires when the supplied data could not be recognized as data in the assumed format for import.
KeyDownOccurs when a key is pressed while the control has focus. Inherited from Control.
KeyPressOccurs when a character. space or backspace key is pressed while the control has focus. Inherited from Control.
KeyUpOccurs when a key is released while the control has focus. Inherited from Control.
LayoutOccurs when a control should reposition its child controls. Inherited from Control.
LeaveOccurs when the input focus leaves the control. Inherited from Control.
LineNumberingFormShowingOccurs before the Line Numbers dialog is invoked.
LocationChangedOccurs when the Location property value has changed. Inherited from Control.
LostFocusOccurs when the control loses focus. Inherited from Control.
MailMergeFinishedFires when the mail merge is completed.
MailMergeRecordFinishedFires after each data record is merged with the document in the mail merge process.
MailMergeRecordStartedFires before each data record is merged with the document in the mail merge process.
MailMergeStartedFires before mail merge starts.
MarginChangedOccurs when the control’s margin changes. Inherited from Control.
MhtTextChangedThis member supports the internal infrastructure and is not intended to be used directly from your code.
ModifiedChangedOccurs when the value of the RichEditControl.Modified property is changed.
MouseCaptureChangedOccurs when the control loses mouse capture. Inherited from Control.
MouseClickOccurs when the control is clicked by the mouse. Inherited from Control.
MouseDoubleClickOccurs when the control is double clicked by the mouse. Inherited from Control.
MouseDownOccurs when the mouse pointer is over the control and a mouse button is pressed. Inherited from Control.
MouseEnterOccurs when the mouse pointer enters the control. Inherited from Control.
MouseHoverOccurs when the mouse pointer rests on the control. Inherited from Control.
MouseLeaveOccurs when the mouse pointer leaves the control. Inherited from Control.
MouseMoveOccurs when the mouse pointer is moved over the control. Inherited from Control.
MouseUpOccurs when the mouse pointer is over the control and a mouse button is released. Inherited from Control.
MouseWheelOccurs when the mouse wheel moves while the control has focus. Inherited from Control.
MoveOccurs when the control is moved. Inherited from Control.
NotesFormShowingOccurs before the Footnotes and Endnotes dialog is invoked.
NumberingListFormShowingOccurs before the Bullets and Numbering dialog is invoked.
OpenDocumentBytesChangedThis member supports the internal infrastructure and is not intended to be used directly from your code.
OpenXmlBytesChangedThis member supports the internal infrastructure and is not intended to be used directly from your code.
OvertypeChangedFires when the RichEditControl.Overtype property value has been changed.
PaddingChangedOccurs when the control’s padding changes. Inherited from Control.
PageSetupFormShowingOccurs before the Page Setup dialog is invoked.
PaintOccurs when the control is redrawn. Inherited from Control.
ParagraphFormShowingOccurs before the Paragraph dialog is invoked.
ParentChangedOccurs when the Parent property value changes. Inherited from Control.
PasteSpecialFormShowingOccurs before the Paste Special dialog is invoked.
PopupMenuShowingOccurs before a context (popup) menu is created for the control’s document every time a context menu is being invoked.
PreparePopupMenuObsolete. Occurs before a context (popup) menu is created for the control’s document every time a context menu is being invoked.
PreviewKeyDownOccurs before the KeyDown event when a key is pressed while focus is on this control. Inherited from Control.
PropertyChangedOccurs every time any of the RichEditControl class properties has changed its value.
QueryAccessibilityHelpOccurs when AccessibleObject is providing help to accessibility applications. Inherited from Control.
QueryContinueDragOccurs during a drag-and-drop operation and enables the drag source to determine whether the drag-and-drop operation should be canceled. Inherited from Control.
RangeEditingPermissionsFormShowingOccurs before the Editing Permissions dialog is invoked.
ReadOnlyChangedOccurs when the read-only state of the RichEdit control is changed.
RegionChangedOccurs when the value of the Region property changes. Inherited from Control.
ResizeOccurs when the control is resized. Inherited from Control.
RightToLeftChangedOccurs when the RightToLeft property value changes. Inherited from Control.
RtfTextChangedThis member supports the internal infrastructure and is not intended to be used directly from your code.
SearchFormShowingOccurs when a search form is invoked before it is displayed.
SelectionChangedFires in response to changing a selection in the document.
ShowNotesFormShowingOccurs before the Show Notes dialog is invoked.’
SizeChangedOccurs when the Size property value changes. Inherited from Control.
SpellingErrorLimitExceededRaises when the number of found misspelled words exceeds the error limit.
SplitTableCellsFormShowingOccurs before the Split Cells dialog is invoked.
StartHeaderFooterEditingOccurs when the end-user starts editing a header or footer.
StyleChangedOccurs when the control style changes. Inherited from Control.
SymbolFormShowingOccurs before the Symbol dialog is invoked.
SystemColorsChangedOccurs when the system colors change. Inherited from Control.
TabIndexChangedOccurs when the TabIndex property value changes. Inherited from Control.
TableOptionsFormShowingOccurs before the Table Options dialog is invoked.
TablePositioningFormShowingOccurs before the Table Positioning dialog is invoked.
TablePropertiesFormShowingOccurs before the Table Properties dialog is invoked.
TableStyleFormShowingOccurs before a Table Style dialog is invoked.
TabsFormShowingOccurs before the Tabs dialog is invoked.
TabStopChangedOccurs when the TabStop property value changes. Inherited from Control.
TextChangedOccurs when the Text property value changes. Inherited from Control.
TrackedMovesConflictOccurs when moved text has been changed since it was moved.
UnhandledExceptionThis event is raised when an unhandled exception of the RichEditControl occurs.
UnitChangedFires after the RichEditControl.Unit property is changed.
UnitChangingFires before the RichEditControl.Unit property is changed.
UpdateUIRaised when changes occur which may affect the control’s UI.
ValidatedOccurs when the control is finished validating. Inherited from Control.
ValidatingOccurs when the control is validating. Inherited from Control.
VisibleChangedOccurs when the Visible property value changes. Inherited from Control.
VisiblePagesChangedFires when RichEditControl starts or finishes displaying a document page.
WatermarkFormShowingOccurs before the Watermark dialog is invoked.
WordMLTextChangedThis member supports the internal infrastructure and is not intended to be used directly from your code.
ZoomChangedFires when the zoom factor used to display the document is changed.

See Also

RichEditControl Class

RichEditControl Members

DevExpress.XtraRichEdit Namespace