Back to Devexpress

RichEditControl Events

wpf-devexpress-dot-xpf-dot-richedit-dot-richeditcontrol-dot-underscore-events.md

latest50.4 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.
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.
CalculateDocumentVariableFires when the DOCVARIABLE field is updated.
ClipboardSetDataExceptionOccurs when an exception is thrown while trying to place data onto the clipboard.
CloseReviewingPaneOccurs when closing the reviewing pane displaying document comments.
CommentInsertedOccurs after a new comment is created in the document.
ContentChangedOccurs when the document content was changed.
ContextMenuClosingOccurs just before any context menu on the element is closed. Inherited from FrameworkElement.
ContextMenuOpeningOccurs when any context menu on the element is opened. Inherited from FrameworkElement.
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.
DataContextChangedOccurs when the data context for this element changes. Inherited from FrameworkElement.
DecryptionFailedOccurs if the RichEditControl failed to open an encrypted file.
DocBytesChangedThis member supports the internal infrastructure and is not intended to be used directly from your code.
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.
DocumentProtectionChangedFires when the document protection is enforced or dropped.
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.
DragEnterOccurs when the input system reports an underlying drag event with this element as the drag target. Inherited from UIElement.
DragLeaveOccurs when the input system reports an underlying drag event with this element as the drag origin. Inherited from UIElement.
DragOverOccurs when the input system reports an underlying drag event with this element as the potential drop target. Inherited from UIElement.
DropOccurs when the input system reports an underlying drop event with this element as the drop target. Inherited from UIElement.
EmptyDocumentCreatedOccurs when a new document is created in the RichEdit Control.
EncryptedFileIntegrityCheckFailedOccurs when the encrypted file did not pass the data integrity verification.
EncryptedFilePasswordCheckFailedOccurs when the encryption password is empty or invalid.
EncryptedFilePasswordRequestedOccurs when the EncryptionPassword property is not set or returns an invalid password.
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.
FocusableChangedOccurs when the value of the Focusable property changes. Inherited from UIElement.
GiveFeedbackOccurs when the input system reports an underlying drag-and-drop event that involves this element. Inherited from UIElement.
GotFocusOccurs when this element gets logical focus. Inherited from UIElement.
GotKeyboardFocusOccurs when the keyboard is focused on this element. Inherited from UIElement.
GotMouseCaptureOccurs when this element captures the mouse. Inherited from UIElement.
GotStylusCaptureOccurs when this element captures the stylus. Inherited from UIElement.
GotTouchCaptureOccurs when a touch is captured to this element. Inherited from UIElement.
HoverMenuShowingFires before the hover menu of the control is displayed.
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.
InitializedOccurs when this FrameworkElement is initialized. This event coincides with cases where the value of the IsInitialized property changes from false (or undefined) to true. Inherited from FrameworkElement.
InitializeDocumentOccurs before a document is loaded. Handle this event to set initial document settings.
InvalidFormatExceptionFires when the supplied data could not be recognized as data in the assumed format for import.
IsEnabledChangedOccurs when the value of the IsEnabled property on this element changes. Inherited from UIElement.
IsHitTestVisibleChangedOccurs when the value of the IsHitTestVisible dependency property changes on this element. Inherited from UIElement.
IsKeyboardFocusedChangedOccurs when the value of the IsKeyboardFocused property changes on this element. Inherited from UIElement.
IsKeyboardFocusWithinChangedOccurs when the value of the IsKeyboardFocusWithin property changes on this element. Inherited from UIElement.
IsMouseCapturedChangedOccurs when the value of the IsMouseCaptured property changes on this element. Inherited from UIElement.
IsMouseCaptureWithinChangedOccurs when the value of the IsMouseCaptureWithinProperty changes on this element. Inherited from UIElement.
IsMouseDirectlyOverChangedOccurs when the value of the IsMouseDirectlyOver property changes on this element. Inherited from UIElement.
IsStylusCapturedChangedOccurs when the value of the IsStylusCaptured property changes on this element. Inherited from UIElement.
IsStylusCaptureWithinChangedOccurs when the value of the IsStylusCaptureWithin property changes on this element. Inherited from UIElement.
IsStylusDirectlyOverChangedOccurs when the value of the IsStylusDirectlyOver property changes on this element. Inherited from UIElement.
IsVisibleChangedOccurs when the value of the IsVisible property changes on this element. Inherited from UIElement.
KeyDownOccurs when a key is pressed while focus is on this element. Inherited from UIElement.
KeyUpOccurs when a key is released while focus is on this element. Inherited from UIElement.
LayoutUpdatedOccurs when the layout of the various visual elements associated with the current Dispatcher changes. Inherited from UIElement.
LoadedOccurs when the element is laid out, rendered, and ready for interaction. Inherited from FrameworkElement.
LostFocusOccurs when this element loses logical focus. Inherited from UIElement.
LostKeyboardFocusOccurs when the keyboard is no longer focused on this element. Inherited from UIElement.
LostMouseCaptureOccurs when this element loses mouse capture. Inherited from UIElement.
LostStylusCaptureOccurs when this element loses stylus capture. Inherited from UIElement.
LostTouchCaptureOccurs when this element loses a touch capture. Inherited from UIElement.
MailMergeFinishedFires the when 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.
ManipulationBoundaryFeedbackOccurs when the manipulation encounters a boundary. Inherited from UIElement.
ManipulationCompletedOccurs when a manipulation and inertia on the UIElement object is complete. Inherited from UIElement.
ManipulationDeltaOccurs when the input device changes position during a manipulation. Inherited from UIElement.
ManipulationInertiaStartingOccurs when the input device loses contact with the UIElement object during a manipulation and inertia begins. Inherited from UIElement.
ManipulationStartedOccurs when an input device begins a manipulation on the UIElement object. Inherited from UIElement.
ManipulationStartingOccurs when the manipulation processor is first created. Inherited from UIElement.
MhtTextChangedThis member supports the internal infrastructure, and is not intended to be used directly from your code.
ModifiedChangedOccurs when the value of the Modified property is changed.
MouseDoubleClickOccurs when a mouse button is clicked two or more times. Inherited from Control.
MouseDownOccurs when any mouse button is pressed while the pointer is over this element. Inherited from UIElement.
MouseEnterOccurs when the mouse pointer enters the bounds of this element. Inherited from UIElement.
MouseLeaveOccurs when the mouse pointer leaves the bounds of this element. Inherited from UIElement.
MouseLeftButtonDownOccurs when the left mouse button is pressed while the mouse pointer is over this element. Inherited from UIElement.
MouseLeftButtonUpOccurs when the left mouse button is released while the mouse pointer is over this element. Inherited from UIElement.
MouseMoveOccurs when the mouse pointer moves while over this element. Inherited from UIElement.
MouseRightButtonDownOccurs when the right mouse button is pressed while the mouse pointer is over this element. Inherited from UIElement.
MouseRightButtonUpOccurs when the right mouse button is released while the mouse pointer is over this element. Inherited from UIElement.
MouseUpOccurs when any mouse button is released over this element. Inherited from UIElement.
MouseWheelOccurs when the user rotates the mouse wheel while the mouse pointer is over this element. Inherited from UIElement.
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.
PopupMenuShowingAllows you to customize the Rich Text Editor’s context menus.
PrepareHoverMenuObsolete. Fires before the hover menu of the control is displayed. Use the HoverMenuShowing event instead.
PreparePopupMenuObsolete. Occurs before a popup menu is created. Use the PopupMenuShowing event instead.
PreviewDragEnterOccurs when the input system reports an underlying drag event with this element as the drag target. Inherited from UIElement.
PreviewDragLeaveOccurs when the input system reports an underlying drag event with this element as the drag origin. Inherited from UIElement.
PreviewDragOverOccurs when the input system reports an underlying drag event with this element as the potential drop target. Inherited from UIElement.
PreviewDropOccurs when the input system reports an underlying drop event with this element as the drop target. Inherited from UIElement.
PreviewGiveFeedbackOccurs when a drag-and-drop operation is started. Inherited from UIElement.
PreviewGotKeyboardFocusOccurs when the keyboard is focused on this element. Inherited from UIElement.
PreviewKeyDownOccurs when a key is pressed while focus is on this element. Inherited from UIElement.
PreviewKeyUpOccurs when a key is released while focus is on this element. Inherited from UIElement.
PreviewLostKeyboardFocusOccurs when the keyboard is no longer focused on this element. Inherited from UIElement.
PreviewMouseDoubleClickOccurs when a user clicks the mouse button two or more times. Inherited from Control.
PreviewMouseDownOccurs when any mouse button is pressed while the pointer is over this element. Inherited from UIElement.
PreviewMouseLeftButtonDownOccurs when the left mouse button is pressed while the mouse pointer is over this element. Inherited from UIElement.
PreviewMouseLeftButtonUpOccurs when the left mouse button is released while the mouse pointer is over this element. Inherited from UIElement.
PreviewMouseMoveOccurs when the mouse pointer moves while the mouse pointer is over this element. Inherited from UIElement.
PreviewMouseRightButtonDownOccurs when the right mouse button is pressed while the mouse pointer is over this element. Inherited from UIElement.
PreviewMouseRightButtonUpOccurs when the right mouse button is released while the mouse pointer is over this element. Inherited from UIElement.
PreviewMouseUpOccurs when any mouse button is released while the mouse pointer is over this element. Inherited from UIElement.
PreviewMouseWheelOccurs when the user rotates the mouse wheel while the mouse pointer is over this element. Inherited from UIElement.
PreviewQueryContinueDragOccurs when there is a change in the keyboard or mouse button state during a drag-and-drop operation. Inherited from UIElement.
PreviewStylusButtonDownOccurs when the stylus button is pressed while the pointer is over this element. Inherited from UIElement.
PreviewStylusButtonUpOccurs when the stylus button is released while the pointer is over this element. Inherited from UIElement.
PreviewStylusDownOccurs when the stylus touches the digitizer while it is over this element. Inherited from UIElement.
PreviewStylusInAirMoveOccurs when the stylus moves over an element without actually touching the digitizer. Inherited from UIElement.
PreviewStylusInRangeOccurs when the stylus is close enough to the digitizer to be detected, while over this element. Inherited from UIElement.
PreviewStylusMoveOccurs when the stylus moves while over the element. The stylus must move while being detected by the digitizer to raise this event, otherwise, PreviewStylusInAirMove is raised instead. Inherited from UIElement.
PreviewStylusOutOfRangeOccurs when the stylus is too far from the digitizer to be detected. Inherited from UIElement.
PreviewStylusSystemGestureOccurs when a user performs one of several stylus gestures. Inherited from UIElement.
PreviewStylusUpOccurs when the user raises the stylus off the digitizer while the stylus is over this element. Inherited from UIElement.
PreviewTextInputOccurs when this element gets text in a device-independent manner. Inherited from UIElement.
PreviewTouchDownOccurs when a finger touches the screen while the finger is over this element. Inherited from UIElement.
PreviewTouchMoveOccurs when a finger moves on the screen while the finger is over this element. Inherited from UIElement.
PreviewTouchUpOccurs when a finger is raised off of the screen while the finger is over this element. Inherited from UIElement.
PropertyChangedOccurs every time any of the RichEditControl class properties has changed its value.
QueryContinueDragOccurs when there is a change in the keyboard or mouse button state during a drag-and-drop operation. Inherited from UIElement.
QueryCursorOccurs when the cursor is requested to display. This event is raised on an element each time that the mouse pointer moves to a new location, which means the cursor object might need to be changed based on its new position. Inherited from UIElement.
ReadOnlyChangedOccurs when the read-only state of the RichEdit control is changed.
RequestBringIntoViewOccurs when BringIntoView(Rect) is called on this element. Inherited from FrameworkElement.
RtfTextChangedOccurs when the text in the control is changed. Use the ContentChanged event instead.
SearchBoxClosedFires when the Search panel is closed.
SelectionChangedFires in response to changing a selection in the document.
SizeChangedOccurs when either the ActualHeight or the ActualWidth properties change value on this element. Inherited from FrameworkElement.
SourceUpdatedOccurs when the source value changes for any existing property binding on this element. Inherited from FrameworkElement.
SpellingErrorLimitExceededRaises when the number of found misspelled words exceeds the error limit.
StartHeaderFooterEditingOccurs when the end-user starts editing a header or footer.
StylusButtonDownOccurs when the stylus button is pressed while the pointer is over this element. Inherited from UIElement.
StylusButtonUpOccurs when the stylus button is released while the pointer is over this element. Inherited from UIElement.
StylusDownOccurs when the stylus touches the digitizer while the stylus is over this element. Inherited from UIElement.
StylusEnterOccurs when the stylus enters the bounds of this element. Inherited from UIElement.
StylusInAirMoveOccurs when the stylus moves over an element without actually touching the digitizer. Inherited from UIElement.
StylusInRangeOccurs when the stylus is close enough to the digitizer to be detected, while over this element. Inherited from UIElement.
StylusLeaveOccurs when the stylus leaves the bounds of the element. Inherited from UIElement.
StylusMoveOccurs when the stylus moves over this element. The stylus must move while on the digitizer to raise this event. Otherwise, StylusInAirMove is raised instead. Inherited from UIElement.
StylusOutOfRangeOccurs when the stylus is too far from the digitizer to be detected, while over this element. Inherited from UIElement.
StylusSystemGestureOccurs when a user performs one of several stylus gestures. Inherited from UIElement.
StylusUpOccurs when the user raises the stylus off the digitizer while it is over this element. Inherited from UIElement.
TargetUpdatedOccurs when the target value changes for any property binding on this element. Inherited from FrameworkElement.
TextChangedOccurs when the text in the control is changed.
TextInputOccurs when this element gets text in a device-independent manner. Inherited from UIElement.
ToolTipClosingOccurs just before any tooltip on the element is closed. Inherited from FrameworkElement.
ToolTipOpeningOccurs when any tooltip on the element is opened. Inherited from FrameworkElement.
TouchDownOccurs when a finger touches the screen while the finger is over this element. Inherited from UIElement.
TouchEnterOccurs when a touch moves from outside to inside the bounds of this element. Inherited from UIElement.
TouchLeaveOccurs when a touch moves from inside to outside the bounds of this element. Inherited from UIElement.
TouchMoveOccurs when a finger moves on the screen while the finger is over this element. Inherited from UIElement.
TouchUpOccurs when a finger is raised off of the screen while the finger is over this element. Inherited from UIElement.
TrackedMovesConflictOccurs when moved text has been changed since it was moved.
UnhandledExceptionThis event is raised when an exception unhandled by the RichEditControl occurs.
UnitChangedFires after the RichEditControl.Unit property is changed.
UnitChangingFires before the RichEditControl.Unit property is changed.
UnloadedOccurs when the element is removed from within an element tree of loaded elements. Inherited from FrameworkElement.
UpdateUIRaised when changes occur which may affect the control’s UI.
VisiblePagesChangedFires when RichEditControl starts or finishes displaying a document page.
WordMLTextChangedOccurs when the text in the control is changed. Use the ContentChanged event in your code.
ZoomChangedFires when the zoom factor used to display the document is changed.

See Also

RichEditControl Class

RichEditControl Members

DevExpress.Xpf.RichEdit Namespace