New to Telerik UI for WinFormsStart a free 30-day trial

Represents an HTML command that can work with values.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.RadMarkupEditor.dll

Syntax:

C#
public class HtmlCommandWithValue : HtmlCommand

Inheritance: objectHtmlCommandHtmlCommandWithValue

Derived Classes: ColorCommand

Inherited Members HtmlCommand.Execute()HtmlCommand.Execute(object)HtmlCommand.AppropriateHtmlCommand.EnabledHtmlCommand.DocumentHtmlCommand.CommandHtmlCommand.Editor...

Constructors

Initializes a new instance of the HtmlCommandWithValue class.

C#
public HtmlCommandWithValue(string command, IRadMarkupEditor editor)
Parameters:commandstring

The HTML command string.

editorIRadMarkupEditor

The markup editor instance.

Properties

Gets a value indicating whether the command has a determinate value.

C#
public bool HasValue { get; }

Gets the current value of the command.

C#
public virtual object Value { get; }