Class RadzenHtmlEditorBackground
A RadzenHtmlEditor tool which sets the background color of the selection.
Inheritance
System.Object
Radzen.Blazor.RadzenHtmlEditorButtonBase
Radzen.Blazor.RadzenHtmlEditorColorBase
RadzenHtmlEditorBackground
Implements
IDisposable
Namespace: Radzen.Blazor
Assembly: Radzen.Blazor.dll
Syntax
public class RadzenHtmlEditorBackground : RadzenHtmlEditorColorBase, IDisposable
Examples
<RadzenHtmlEditor @bind-Value=@html>
<RadzenHtmlEditorBackground />
</RadzenHtmlEdito>
@code {
string html = "@lt;strong>Hello</strong> world!";
}
Properties
CommandName
Declaration
protected override string CommandName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Radzen.Blazor.RadzenHtmlEditorButtonBase.CommandName
Title
Specifies the title (tooltip) displayed when the user hovers the tool. Set to "Background color"
by default.
Declaration
public string Title { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Value
Specifies the default background color. Set to "rgb(0, 0, 255)"
by default;
Declaration
public string Value { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Implements
IDisposable