Demos About Radzen
Search Results for

    Show / Hide Table of Contents

    Class RadzenHtmlEditorCommandState

    Represents the state of various commands available in the Radzen HTML editor. Used to track the status of editor commands such as formatting, undo/redo, and text alignment.

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

    Properties

    Bold

    Indicates whether bold formatting is currently applied.

    Declaration
    public bool Bold { get; set; }
    Property Value
    Type Description
    System.Boolean

    FontName

    Gets or sets the name of the currently selected font.

    Declaration
    public string FontName { get; set; }
    Property Value
    Type Description
    System.String

    FontSize

    Gets or sets the size of the currently selected font.

    Declaration
    public string FontSize { get; set; }
    Property Value
    Type Description
    System.String

    FormatBlock

    Gets or sets the current formatting block (e.g., paragraph, heading).

    Declaration
    public string FormatBlock { get; set; }
    Property Value
    Type Description
    System.String

    Html

    Gets or sets the current HTML content of the editor.

    Declaration
    public string Html { get; set; }
    Property Value
    Type Description
    System.String

    Italic

    Indicates whether italic formatting is currently applied.

    Declaration
    public bool Italic { get; set; }
    Property Value
    Type Description
    System.Boolean

    JustifyCenter

    Indicates whether text is currently center-aligned.

    Declaration
    public bool JustifyCenter { get; set; }
    Property Value
    Type Description
    System.Boolean

    JustifyFull

    Indicates whether text is currently justified.

    Declaration
    public bool JustifyFull { get; set; }
    Property Value
    Type Description
    System.Boolean

    JustifyLeft

    Indicates whether text is currently left-aligned.

    Declaration
    public bool JustifyLeft { get; set; }
    Property Value
    Type Description
    System.Boolean

    JustifyRight

    Indicates whether text is currently right-aligned.

    Declaration
    public bool JustifyRight { get; set; }
    Property Value
    Type Description
    System.Boolean

    Redo

    Indicates whether the redo command is currently available.

    Declaration
    public bool Redo { get; set; }
    Property Value
    Type Description
    System.Boolean

    StrikeThrough

    Indicates whether strikethrough formatting is currently applied.

    Declaration
    public bool StrikeThrough { get; set; }
    Property Value
    Type Description
    System.Boolean

    Subscript

    Indicates whether subscript formatting is currently applied.

    Declaration
    public bool Subscript { get; set; }
    Property Value
    Type Description
    System.Boolean

    Superscript

    Indicates whether superscript formatting is currently applied.

    Declaration
    public bool Superscript { get; set; }
    Property Value
    Type Description
    System.Boolean

    Underline

    Indicates whether underline formatting is currently applied.

    Declaration
    public bool Underline { get; set; }
    Property Value
    Type Description
    System.Boolean

    Undo

    Indicates whether the undo command is currently available.

    Declaration
    public bool Undo { get; set; }
    Property Value
    Type Description
    System.Boolean

    Unlink

    Indicates whether the unlink command is currently available.

    Declaration
    public bool Unlink { get; set; }
    Property Value
    Type Description
    System.Boolean

    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