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

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:

C#
public class HtmlCommandArgs : ToolCommandArgsBase

Inheritance: objectToolCommandArgsBaseHtmlCommandArgs

Inherited Members ToolCommandArgsBase.CommandNameToolCommandArgsBase.ShouldFocusView

Constructors

C#
public HtmlCommandArgs()
C#
public HtmlCommandArgs(string commandName, string value, bool inline)
Parameters:commandNamestringvaluestringinlinebool
C#
public HtmlCommandArgs(string commandName, string value)
Parameters:commandNamestringvaluestring

Properties

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.

C#
public bool Inline { get; set; }

The value for the command - the new HTML string.

C#
public string Value { get; set; }