ClassHtmlCommand
Represents a base command for HTML editing operations in the markup editor.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.RadMarkupEditor.dll
Syntax:
public class HtmlCommand
Inheritance: objectHtmlCommand
Derived Classes:
Constructors
HtmlCommand(string, IRadMarkupEditor)
Initializes a new instance of the HtmlCommand class.
Declaration
public HtmlCommand(string command, IRadMarkupEditor editor)
Parameters
command
The HTML command string.
editor
The markup editor instance.
Properties
Appropriate
Gets a value indicating whether the command is appropriate for the current context.
Command
Gets the command string.
Document
Gets the HTML document associated with this command.
Declaration
protected IHTMLDocument2 Document { get; }
Property Value
IHTMLDocument2
Editor
Gets the markup editor instance.
Declaration
protected IRadMarkupEditor Editor { get; }
Property Value
Methods
Execute()
Executes the command without parameters.
Declaration
public bool Execute()
Returns
True if the command was executed successfully; otherwise, false.
Execute(object)
Executes the command with the specified value.