Class RadzenHtmlEditorBackground
A RadzenHtmlEditor tool which sets the background color of the selection.
public class RadzenHtmlEditorBackground : RadzenHtmlEditorColorBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
- Inheritance
-
RadzenHtmlEditorBackground
- Implements
- Inherited Members
Examples
<RadzenHtmlEditor @bind-Value=@html>
<RadzenHtmlEditorBackground />
</RadzenHtmlEdito>
@code {
string html = "@lt;strong>Hello</strong> world!";
}
Constructors
RadzenHtmlEditorBackground()
public RadzenHtmlEditorBackground()
Properties
CommandName
protected override string CommandName { get; }
Property Value
Title
Specifies the title (tooltip) displayed when the user hovers the tool. Set to "Background color"
by default.
[Parameter]
public string Title { get; set; }
Property Value
Value
Specifies the default background color. Set to "rgb(0, 0, 255)"
by default;
[Parameter]
public string Value { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
RenderTreeBuilder