Useful Events

There are many events available for this HTML Editor. Here is a list of most important events that you may be interested about.

Click- Occurs when the control is clicked.

usefulevents 1

ContextMenuShowing – It is fired when the user clicks the right mouse button in the editor area, opening the context menu.

usefulevents 2

EditorModeChanged - Occurs when editor mode is changed. The modes available are WYSIWYG, HTML Edit and ReadOnly Preview.

usefulevents 3

ErrorOccurred – It is raised when an error occurs. The developer might want to handle the exceptions that might occur and prevent the application from crashing. It will also be helpful for debugging the application.

usefulevents 4

FTPUpload_Completed- Occurs when the local images are uploaded to Remote Server by FTP (Operation Completed)

HtmlChanged - Fired whenever the html of the whole document changes. This event is fired even if the html of the header element is changed.

KeyDown- Occurs when a key is first pressed.

usefulevents 5

Pasting- Raised when the user tries to paste some text inside the document

usefulevents 6

SelectionChanged- Occurs when the current selection has changed.

SelectionStart- Fires when an HTML element is being selected.

StatusChanged - Raised when some status changed message is fired.

TemplateApplied - Occurs when the editor control has applied template. This event can be useful if you use the editor inside TabControl. Nested controls (e.g. Toolbar1, Toolbar2 atc) are available only after TemplateApplied event fired, they are not available inside TabControl until you select requried tab.

Last updated on 2 June 2015, Tuesday, 1:27:32 AM
If you have any questions or concerns about this tutorial, Please feel free to share your comment.