Class RadzenHtmlEditorBackground
A RadzenHtmlEditor tool which sets the background color of the selection.
Inheritance
RadzenHtmlEditorButtonBase
RadzenHtmlEditorColorBase
RadzenHtmlEditorBackground
Inherited Members
Namespace: Radzen.Blazor
Assembly: Radzen.Blazor.dll
Syntax
public class RadzenHtmlEditorBackground : RadzenHtmlEditorColorBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Examples
<RadzenHtmlEditor @bind-Value=@html>
<RadzenHtmlEditorBackground />
</RadzenHtmlEdito>
@code {
string html = "@lt;strong>Hello</strong> world!";
}
Constructors
RadzenHtmlEditorBackground()
A RadzenHtmlEditor tool which sets the background color of the selection.
Declaration
public RadzenHtmlEditorBackground()
Examples
<RadzenHtmlEditor @bind-Value=@html>
<RadzenHtmlEditorBackground />
</RadzenHtmlEdito>
@code {
string html = "@lt;strong>Hello</strong> world!";
}
Properties
CommandName
Specifies the name of the command. It is available as CommandName when Execute is raised.
Declaration
protected override string CommandName { get; }
Property Value
Type | Description |
---|---|
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
[Parameter]
public string Title { get; set; }
Property Value
Type | Description |
---|---|
string |
Value
Specifies the default background color. Set to "rgb(0, 0, 255)"
by default;
Declaration
[Parameter]
public override string Value { get; set; }
Property Value
Type | Description |
---|---|
string |
Overrides
Radzen.Blazor.RadzenHtmlEditorColorBase.Value
Methods
BuildRenderTree(RenderTreeBuilder)
A RadzenHtmlEditor tool which sets the background color of the selection.
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Type | Name | Description |
---|---|---|
RenderTreeBuilder | __builder |