Table of Contents

Class RadzenHtmlEditorColor

Namespace
Radzen.Blazor
Assembly
Radzen.Blazor.dll

A RadzenHtmlEditor tool which sets the text color of the selection.

public class RadzenHtmlEditorColor : RadzenHtmlEditorColorBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance
RadzenHtmlEditorColor
Implements
Inherited Members

Examples

<RadzenHtmlEditor @bind-Value=@html>
 <RadzenHtmlEditorColor />
</RadzenHtmlEdito>
@code {
  string html = "@lt;strong>Hello</strong> world!"; 
}

Constructors

RadzenHtmlEditorColor()

public RadzenHtmlEditorColor()

Properties

CommandName

protected override string CommandName { get; }

Property Value

string

Title

Specifies the title (tooltip) displayed when the user hovers the tool. Set to "Text color" by default.

[Parameter]
public string Title { get; set; }

Property Value

string

Value

Specifies the default text color. Set to "rgb(255, 0, 0)" by default;

[Parameter]
public string Value { get; set; }

Property Value

string

Methods

BuildRenderTree(RenderTreeBuilder)

protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder RenderTreeBuilder