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.
Object
Namespace: Radzen.Blazor
Assembly: Radzen.Blazor.dll
public class RadzenHtmlEditorCommandStateRepresents 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.
public RadzenHtmlEditorCommandState()Indicates whether bold formatting is currently applied.
public bool Bold { get; set; }
| Type | Description |
|---|---|
| bool | Indicates whether bold formatting is currently applied. |
Gets or sets the name of the currently selected font.
public string FontName { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the name of the currently selected font. |
Gets or sets the size of the currently selected font.
public string FontSize { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the size of the currently selected font. |
Gets or sets the current formatting block (e.g., paragraph, heading).
public string FormatBlock { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the current formatting block (e.g., paragraph, heading). |
Gets or sets the current HTML content of the editor.
public string Html { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the current HTML content of the editor. |
Indicates whether italic formatting is currently applied.
public bool Italic { get; set; }
| Type | Description |
|---|---|
| bool | Indicates whether italic formatting is currently applied. |
Indicates whether text is currently center-aligned.
public bool JustifyCenter { get; set; }
| Type | Description |
|---|---|
| bool | Indicates whether text is currently center-aligned. |
Indicates whether text is currently justified.
public bool JustifyFull { get; set; }
| Type | Description |
|---|---|
| bool | Indicates whether text is currently justified. |
Indicates whether text is currently left-aligned.
public bool JustifyLeft { get; set; }
| Type | Description |
|---|---|
| bool | Indicates whether text is currently left-aligned. |
Indicates whether text is currently right-aligned.
public bool JustifyRight { get; set; }
| Type | Description |
|---|---|
| bool | Indicates whether text is currently right-aligned. |
Indicates whether the redo command is currently available.
public bool Redo { get; set; }
| Type | Description |
|---|---|
| bool | Indicates whether the redo command is currently available. |
Indicates whether strikethrough formatting is currently applied.
public bool StrikeThrough { get; set; }
| Type | Description |
|---|---|
| bool | Indicates whether strikethrough formatting is currently applied. |
Indicates whether subscript formatting is currently applied.
public bool Subscript { get; set; }
| Type | Description |
|---|---|
| bool | Indicates whether subscript formatting is currently applied. |
Indicates whether superscript formatting is currently applied.
public bool Superscript { get; set; }
| Type | Description |
|---|---|
| bool | Indicates whether superscript formatting is currently applied. |
Indicates whether underline formatting is currently applied.
public bool Underline { get; set; }
| Type | Description |
|---|---|
| bool | Indicates whether underline formatting is currently applied. |
Indicates whether the undo command is currently available.
public bool Undo { get; set; }
| Type | Description |
|---|---|
| bool | Indicates whether the undo command is currently available. |
Indicates whether the unlink command is currently available.
public bool Unlink { get; set; }
| Type | Description |
|---|---|
| bool | Indicates whether the unlink command is currently available. |