Class EditorCommand
- Namespace
- DotNetBrowser.Frames
- Assembly
- DotNetBrowser.dll
Provides the supported commands that can be executed in a IFrame.
public sealed class EditorCommand
- Inheritance
-
EditorCommand
- Inherited Members
Methods
- BackColor(string)
Returns a command that allows setting the background color for selected text in a WYSIWYG editor.
- Bold()
Returns a command that allows making the selected text bold in a WYSIWYG editor.
- Copy()
Returns a command that allows copying the selected text in the frame.
- Cut()
Returns a command that allows cutting the selected text in a text field, text area or WYSIWYG editor.
- Delete()
Returns a command that allows deleting the selected text in a text field, text area or WYSIWYG editor.
- DeleteBackward()
Returns a command that allows deleting character before the caret position in a text field, text area or WYSIWYG editor.
- DeleteForward()
Returns a command that allows deleting character after the caret position in a text field, text area or WYSIWYG editor.
- DeleteToBeginningOfLine()
Returns a command that allows deleting character from the caret position to the beginning of line in a text field, text area or WYSIWYG editor.
- DeleteWordBackward()
Returns a command that allows deleting a word before the caret position in a text field, text area or WYSIWYG editor.
- DeleteWordForward()
Returns a command that allows deleting a word after the caret position in a text field, text area or WYSIWYG editor.
- FindText(string)
Returns a command that allows searching for the given
text
occurrence from the current caret position in the frame. If match found, this command will select it and scroll down to make it visible, if needed.
- FontName(string)
Returns a command that allows setting the given
fontName
for the selected text in a WYSIWYG editor.
- FontSize(int)
Returns a command that allows setting the given
fontSize
for the selected text in a WYSIWYG editor.
- ForeColor(string)
Returns a command that allows setting the given foreground
color
for the selected text in a WYSIWYG editor.
- IgnoreSpelling()
Returns a command that allows disabling the spelling mistakes highlighting in a text area or a WYSIWYG editor.
- InsertHtml(string)
Returns a command that allows inserting the given
html
content in a WYSIWYG editor.
- InsertImage(string)
Returns a command that allows inserting an image with the given
source
in a WYSIWYG editor. If thesource
points to an invalid location, then image won't be inserted.
- InsertNewLine()
Returns a command that allows inserting a new line in a WYSIWYG editor.
- InsertParagraph()
Inserts new paragraph in a WYSIWYG editor.
- InsertTab()
Returns a command that allows inserting a tab character in a WYSIWYG editor.
- InsertText(string)
Returns a command that allows inserting the given
text
content in a WYSIWYG editor or a text field.
- Italic()
Returns a command that allows making the selected text italic in a WYSIWYG editor.
- MovePageDown()
Returns a command that allows moving the caret position at one page down in a text area or a WYSIWYG editor.
- MovePageUp()
Returns a command that allows moving the caret position at one page up in a text area or a WYSIWYG editor.
- MoveToBeginningOfLine()
Returns a command that allows moving a word to the beginning of line in a text area or a WYSIWYG editor.
- MoveToBeginningOfLineAndModifySelection()
Returns a command that allows moving a word to the beginning of line and modifying selection in a text area or a WYSIWYG editor.
- MoveToEndOfLine()
Returns a command that allows moving a word to the end of line in a text area or a WYSIWYG editor.
- MoveToEndOfLineAndModifySelection()
Returns a command that allows moving a word to the end of line and modifying selection in a text area or a WYSIWYG editor.
- MoveWordLeft()
Returns a command that allows moving a word left in a text area or a WYSIWYG editor.
- MoveWordLeftAndModifySelection()
Returns a command that allows moving a word left and modifying selection in a text area or a WYSIWYG editor.
- MoveWordRight()
Returns a command that allows moving a word right in a text area or a WYSIWYG editor.
- MoveWordRightAndModifySelection()
Returns a command that allows moving a word right and modifying selection in a text area or a WYSIWYG editor.
- Paste()
Returns a command that allows pasting content of the clipboard in a text field, text area or a WYSIWYG editor.
- ScrollLineDown()
Returns a command that allows scrolling one line down.
- ScrollLineUp()
Returns a command that allows scrolling one line up.
- ScrollPageBackward()
Returns a command that allows scrolling a page backward.
- ScrollPageForward()
Returns a command that allows scrolling a page forward.
- ScrollToBeginningOfDocument()
Returns a command that allows scrolling content to the beginning of the document in the frame.
- ScrollToEndOfDocument()
Returns a command that allows scrolling content to the end of the document in the frame.
- SelectAll()
Returns a command that allows selecting all text in the frame or the currently focused text field, text area or a WYSIWYG editor.
- SelectLine()
Returns a command that allows selecting a line at the caret position in a text area or a WYSIWYG editor.
- SelectParagraph()
Returns a command that allows selecting the whole paragraph at the caret position in a text area or a WYSIWYG editor.
- SelectSentence()
Returns a command that allows selecting the whole sentence at the caret position in a text area or a WYSIWYG editor.
- SelectWord()
Returns a command that allows selecting the word at the caret position in a text field, text area or a WYSIWYG editor.
- ToggleBold()
Returns a command that allows toggling bold style for the selected text in a WYSIWYG editor.
- ToggleItalic()
Returns a command that allows toggling italic style for the selected text in a WYSIWYG editor.
- ToggleUnderline()
Returns a command that allows toggling underline style for the selected text in a WYSIWYG editor.
- Underline()
Returns a command that allows underlying the selected text in a WYSIWYG editor.
- Undo()
Returns a command that allows reversing the last action.
- Unselect()
Returns a command that allows clearing the current selection in a frame.