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 to this section

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 to this section

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 to this section

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 to this section

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 to this section

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 to this section

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 to this section

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 to this section

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 to this section

Indicates whether text is currently justified.

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

JustifyLeftLink to this section

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 to this section

Indicates whether text is currently right-aligned.

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

MessageLink to this section

Gets or sets an optional message for the last command result.

Declaration
public string Message { get; set; }
Property Value
Type Description
stringGets or sets an optional message for the last command result.

RedoLink to this section

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 to this section

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 to this section

Indicates whether subscript formatting is currently applied.

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

SuccessLink to this section

Gets or sets a value indicating whether the last command completed successfully.

Declaration
public bool Success { get; set; }
Property Value
Type Description
boolGets or sets a value indicating whether the last command completed successfully.

SuperscriptLink to this section

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 to this section

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 to this section

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 🗙