RadzenHtmlEditorColor Class

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

Inheritance

Object

ComponentBase

RadzenHtmlEditorButtonBase

RadzenHtmlEditorColorBase

RadzenHtmlEditorColor

Implements

IComponent

IHandleEvent

IHandleAfterRender

Inherited Members

RadzenHtmlEditorColorBase.OnChange

RadzenHtmlEditorColorBase.OnInitialized

RadzenHtmlEditorColorBase.SetParametersAsync

RadzenHtmlEditorColorBase.ShowHSV

RadzenHtmlEditorColorBase.ShowRGBA

RadzenHtmlEditorColorBase.ChildContent

RadzenHtmlEditorColorBase.ShowColors

RadzenHtmlEditorColorBase.ShowButton

RadzenHtmlEditorColorBase.HexText

RadzenHtmlEditorColorBase.RedText

RadzenHtmlEditorColorBase.GreenText

RadzenHtmlEditorColorBase.BlueText

RadzenHtmlEditorColorBase.AlphaText

RadzenHtmlEditorColorBase.ButtonText

RadzenHtmlEditorColorBase.value

RadzenHtmlEditorButtonBase.OnClick

RadzenHtmlEditorButtonBase.Dispose

RadzenHtmlEditorButtonBase.Editor

RadzenHtmlEditorButtonBase.Shortcut

ComponentBase.OnInitializedAsync

ComponentBase.OnParametersSet

ComponentBase.OnParametersSetAsync

ComponentBase.StateHasChanged

ComponentBase.ShouldRender

ComponentBase.OnAfterRender

ComponentBase.OnAfterRenderAsync

ComponentBase.InvokeAsync

ComponentBase.DispatchExceptionAsync

ComponentBase.RendererInfo

ComponentBase.Assets

ComponentBase.AssignedRenderMode

Namespace: Radzen.Blazor

Assembly: Radzen.Blazor.dll

Syntax

public class RadzenHtmlEditorColor : RadzenHtmlEditorColorBase, IComponent, IHandleEvent, IHandleAfterRender

Examples

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

Constructors

RadzenHtmlEditorColorlink

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

Declaration
public RadzenHtmlEditorColor()

Properties

CommandNamelink

Declaration
protected string CommandName { get; }
Property Value
Type Description
string

Titlelink

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

Declaration
public string Title { get; set; }
Property Value
Type Description
stringSpecifies the title (tooltip) displayed when the user hovers the tool. Set to "Text color" by default.

Valuelink

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

Declaration
public string Value { get; set; }
Property Value
Type Description
stringSpecifies the default text color. Set to "rgb(255, 0, 0)" by default;

Methods

BuildRenderTreelink

Declaration
protected override void BuildRenderTree(Rendering.RenderTreeBuilder __builder)
Parameters
Type Name Description
Rendering.RenderTreeBuilder __builder
An error has occurred. This app may no longer respond until reloaded. Reload 🗙