Demos About Radzen
Search Results for

    Show / Hide Table of Contents

    Class HtmlEditorCommands

    Contains the commands which RadzenHtmlEditor supports.

    Inheritance
    System.Object
    HtmlEditorCommands
    Namespace: Radzen
    Assembly: Radzen.Blazor.dll
    Syntax
    public static class HtmlEditorCommands : object

    Fields

    AlignCenter

    Centers the selected text.

    Declaration
    public static string AlignCenter
    Field Value
    Type Description
    System.String

    AlignLeft

    Aligns the selected text to the left.

    Declaration
    public static string AlignLeft
    Field Value
    Type Description
    System.String

    AlignRight

    Aligns the selected text to the right.

    Declaration
    public static string AlignRight
    Field Value
    Type Description
    System.String

    Background

    Sets the background color of the selected text.

    Declaration
    public static string Background
    Field Value
    Type Description
    System.String

    Bold

    Bolds the selected text.

    Declaration
    public static string Bold
    Field Value
    Type Description
    System.String

    Color

    Sets the text color of the selection.

    Declaration
    public static string Color
    Field Value
    Type Description
    System.String

    FontName

    Sets the font of the selected text.

    Declaration
    public static string FontName
    Field Value
    Type Description
    System.String

    FontSize

    Sets the font size of the selected text.

    Declaration
    public static string FontSize
    Field Value
    Type Description
    System.String

    FormatBlock

    Formats the selection as paragraph, heading etc.

    Declaration
    public static string FormatBlock
    Field Value
    Type Description
    System.String

    Indent

    Indents the selection.

    Declaration
    public static string Indent
    Field Value
    Type Description
    System.String

    InsertHtml

    Inserts html at cursor location.

    Declaration
    public static string InsertHtml
    Field Value
    Type Description
    System.String

    Italic

    Makes the selected text italic.

    Declaration
    public static string Italic
    Field Value
    Type Description
    System.String

    Justify

    Justifies the selected text.

    Declaration
    public static string Justify
    Field Value
    Type Description
    System.String

    OrderedList

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

    Declaration
    public static string OrderedList
    Field Value
    Type Description
    System.String

    Outdent

    Outdents the selected text.

    Declaration
    public static string Outdent
    Field Value
    Type Description
    System.String

    Redo

    Repeats the last edit operations.

    Declaration
    public static string Redo
    Field Value
    Type Description
    System.String

    RemoveFormat

    Removes visual formatting from the selected text.

    Declaration
    public static string RemoveFormat
    Field Value
    Type Description
    System.String

    StrikeThrough

    Strikes through the selected text.

    Declaration
    public static string StrikeThrough
    Field Value
    Type Description
    System.String

    Subscript

    Applies subscript styling to the selected text.

    Declaration
    public static string Subscript
    Field Value
    Type Description
    System.String

    Superscript

    Applies superscript styling to the selected text.

    Declaration
    public static string Superscript
    Field Value
    Type Description
    System.String

    Underline

    Underlines the selected text.

    Declaration
    public static string Underline
    Field Value
    Type Description
    System.String

    Undo

    Undoes the last edit operation.

    Declaration
    public static string Undo
    Field Value
    Type Description
    System.String

    Unlink

    Unlinks a link.

    Declaration
    public static string Unlink
    Field Value
    Type Description
    System.String

    UnorderedList

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

    Declaration
    public static string UnorderedList
    Field Value
    Type Description
    System.String

    Introducing Radzen Blazor Studio

    Radzen Blazor Studio is a software development environment that empowers developers to design, build and deploy Blazor applications without the traditional hurdles. Write less code and get more done.

    Learn More

    Download Now
    Download Now
    In This Article
    Back to top Radzen Blazor Components, © 2018-2025 Radzen. Source Code licensed under MIT