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