Class
HtmlCommandArgs

Command arguments for manipulating the HTML content of the editor (such as inserting HTML).

Definition

Namespace:Telerik.Blazor.Components.Editor

Assembly:Telerik.Blazor.dll

Syntax:

cs-api-definition
public class HtmlCommandArgs : ToolCommandArgsBase

Inheritance: objectToolCommandArgsBaseHtmlCommandArgs

Inherited Members ToolCommandArgsBase.CommandNameToolCommandArgsBase.ShouldFocusView

Constructors

HtmlCommandArgs()

Declaration

cs-api-definition
public HtmlCommandArgs()

HtmlCommandArgs(string, string)

Declaration

cs-api-definition
public HtmlCommandArgs(string commandName, string value)

Parameters

commandName

string

value

string

HtmlCommandArgs(string, string, bool)

Declaration

cs-api-definition
public HtmlCommandArgs(string commandName, string value, bool inline)

Parameters

commandName

string

value

string

inline

bool

Properties

Inline

Defines whether the inserted value is inline element. By default the command works only with block nodes, and wraps any inline element into a paragraph.

Declaration

cs-api-definition
public bool Inline { get; set; }

Property Value

bool

Value

The value for the command - the new HTML string.

Declaration

cs-api-definition
public string Value { get; set; }

Property Value

string