HtmlEditorCommands Class

Contains the commands which RadzenHtmlEditor supports.

Inheritance

Object

HtmlEditorCommands

Namespace: Radzen

Assembly: Radzen.Blazor.dll

Syntax

public static class HtmlEditorCommands

Fields

AlignCenterLink to this section

Centers the selected text.

Declaration
public static string AlignCenter

AlignLeftLink to this section

Aligns the selected text to the left.

Declaration
public static string AlignLeft

AlignRightLink to this section

Aligns the selected text to the right.

Declaration
public static string AlignRight

BackgroundLink to this section

Sets the background color of the selected text.

Declaration
public static string Background

BoldLink to this section

Bolds the selected text.

Declaration
public static string Bold

ColorLink to this section

Sets the text color of the selection.

Declaration
public static string Color

FontNameLink to this section

Sets the font of the selected text.

Declaration
public static string FontName

FontSizeLink to this section

Sets the font size of the selected text.

Declaration
public static string FontSize

FormatBlockLink to this section

Formats the selection as paragraph, heading etc.

Declaration
public static string FormatBlock

IndentLink to this section

Indents the selection.

Declaration
public static string Indent

InsertHtmlLink to this section

Inserts html at cursor location.

Declaration
public static string InsertHtml

ItalicLink to this section

Makes the selected text italic.

Declaration
public static string Italic

JustifyLink to this section

Justifies the selected text.

Declaration
public static string Justify

OrderedListLink to this section

Inserts an empty ordered list or makes an ordered list from the selected text.

Declaration
public static string OrderedList

OutdentLink to this section

Outdents the selected text.

Declaration
public static string Outdent

RedoLink to this section

Repeats the last edit operations.

Declaration
public static string Redo

RemoveFormatLink to this section

Removes visual formatting from the selected text.

Declaration
public static string RemoveFormat

StrikeThroughLink to this section

Strikes through the selected text.

Declaration
public static string StrikeThrough

SubscriptLink to this section

Applies subscript styling to the selected text.

Declaration
public static string Subscript

SuperscriptLink to this section

Applies superscript styling to the selected text.

Declaration
public static string Superscript

UnderlineLink to this section

Underlines the selected text.

Declaration
public static string Underline

UndoLink to this section

Undoes the last edit operation.

Declaration
public static string Undo

UnorderedListLink to this section

Inserts an empty unordered list or makes an unordered list from the selected text.

Declaration
public static string UnorderedList
In This Article
An error has occurred. This app may no longer respond until reloaded. Reload 🗙