RadzenHtmlEditorCommandState Class

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

Object

RadzenHtmlEditorCommandState

Namespace: Radzen.Blazor

Assembly: Radzen.Blazor.dll

Syntax

public class RadzenHtmlEditorCommandState

Constructors

RadzenHtmlEditorCommandStatelink

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.

Declaration
public RadzenHtmlEditorCommandState()

Properties

Boldlink

Indicates whether bold formatting is currently applied.

Declaration
public bool Bold { get; set; }
Property Value
Type Description
boolIndicates whether bold formatting is currently applied.

FontNamelink

Gets or sets the name of the currently selected font.

Declaration
public string FontName { get; set; }
Property Value
Type Description
stringGets or sets the name of the currently selected font.

FontSizelink

Gets or sets the size of the currently selected font.

Declaration
public string FontSize { get; set; }
Property Value
Type Description
stringGets or sets the size of the currently selected font.

FormatBlocklink

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

Declaration
public string FormatBlock { get; set; }
Property Value
Type Description
stringGets or sets the current formatting block (e.g., paragraph, heading).

Htmllink

Gets or sets the current HTML content of the editor.

Declaration
public string Html { get; set; }
Property Value
Type Description
stringGets or sets the current HTML content of the editor.

Italiclink

Indicates whether italic formatting is currently applied.

Declaration
public bool Italic { get; set; }
Property Value
Type Description
boolIndicates whether italic formatting is currently applied.

JustifyCenterlink

Indicates whether text is currently center-aligned.

Declaration
public bool JustifyCenter { get; set; }
Property Value
Type Description
boolIndicates whether text is currently center-aligned.

JustifyFulllink

Indicates whether text is currently justified.

Declaration
public bool JustifyFull { get; set; }
Property Value
Type Description
boolIndicates whether text is currently justified.

JustifyLeftlink

Indicates whether text is currently left-aligned.

Declaration
public bool JustifyLeft { get; set; }
Property Value
Type Description
boolIndicates whether text is currently left-aligned.

JustifyRightlink

Indicates whether text is currently right-aligned.

Declaration
public bool JustifyRight { get; set; }
Property Value
Type Description
boolIndicates whether text is currently right-aligned.

Redolink

Indicates whether the redo command is currently available.

Declaration
public bool Redo { get; set; }
Property Value
Type Description
boolIndicates whether the redo command is currently available.

StrikeThroughlink

Indicates whether strikethrough formatting is currently applied.

Declaration
public bool StrikeThrough { get; set; }
Property Value
Type Description
boolIndicates whether strikethrough formatting is currently applied.

Subscriptlink

Indicates whether subscript formatting is currently applied.

Declaration
public bool Subscript { get; set; }
Property Value
Type Description
boolIndicates whether subscript formatting is currently applied.

Superscriptlink

Indicates whether superscript formatting is currently applied.

Declaration
public bool Superscript { get; set; }
Property Value
Type Description
boolIndicates whether superscript formatting is currently applied.

Underlinelink

Indicates whether underline formatting is currently applied.

Declaration
public bool Underline { get; set; }
Property Value
Type Description
boolIndicates whether underline formatting is currently applied.

Undolink

Indicates whether the undo command is currently available.

Declaration
public bool Undo { get; set; }
Property Value
Type Description
boolIndicates whether the undo command is currently available.
An error has occurred. This app may no longer respond until reloaded. Reload 🗙