Class ColorCommand
Represents a command for setting and getting color values.
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.RadMarkupEditor.dll
Syntax
public class ColorCommand : HtmlCommandWithValue
Constructors
ColorCommand(String, IRadMarkupEditor)
Initializes a new instance of the ColorCommand class.
Declaration
public ColorCommand(string command, IRadMarkupEditor editor)
Parameters
System.String
command
The color command string. |
IRadMarkupEditor
editor
The markup editor instance. |
Properties
Value
Gets the current color value of the command.
Declaration
public override object Value { get; }
Property Value
System.Object
|
Overrides
Methods
Execute(Object)
Executes the color command with the specified color value.
Declaration
public override bool Execute(object value)
Parameters
System.Object
value
The color value to apply. |
Returns
System.Boolean
True if the command was executed successfully; otherwise, false. |