HtmlEditorCommands Class

Contains the commands which RadzenHtmlEditor supports.

Inheritance

Object

HtmlEditorCommands

Namespace: Radzen

Assembly: Radzen.Blazor.dll

Syntax

public static class HtmlEditorCommands

Fields

AlignCenterlink

Centers the selected text.

Declaration
public static string AlignCenter

AlignLeftlink

Aligns the selected text to the left.

Declaration
public static string AlignLeft

AlignRightlink

Aligns the selected text to the right.

Declaration
public static string AlignRight

Backgroundlink

Sets the background color of the selected text.

Declaration
public static string Background

Boldlink

Bolds the selected text.

Declaration
public static string Bold

Colorlink

Sets the text color of the selection.

Declaration
public static string Color

FontNamelink

Sets the font of the selected text.

Declaration
public static string FontName

FontSizelink

Sets the font size of the selected text.

Declaration
public static string FontSize

FormatBlocklink

Formats the selection as paragraph, heading etc.

Declaration
public static string FormatBlock

Indentlink

Indents the selection.

Declaration
public static string Indent

InsertHtmllink

Inserts html at cursor location.

Declaration
public static string InsertHtml

Italiclink

Makes the selected text italic.

Declaration
public static string Italic

Justifylink

Justifies the selected text.

Declaration
public static string Justify

OrderedListlink

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

Declaration
public static string OrderedList

Outdentlink

Outdents the selected text.

Declaration
public static string Outdent

Redolink

Repeats the last edit operations.

Declaration
public static string Redo

RemoveFormatlink

Removes visual formatting from the selected text.

Declaration
public static string RemoveFormat

StrikeThroughlink

Strikes through the selected text.

Declaration
public static string StrikeThrough

Subscriptlink

Applies subscript styling to the selected text.

Declaration
public static string Subscript

Superscriptlink

Applies superscript styling to the selected text.

Declaration
public static string Superscript

Underlinelink

Underlines the selected text.

Declaration
public static string Underline

Undolink

Undoes the last edit operation.

Declaration
public static string Undo

UnorderedListlink

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 🗙