Class RadzenHtmlEditorColorItem
Adds a custom color to RadzenHtmlEditorColor.
Inherited Members
Namespace: Radzen.Blazor
Assembly: Radzen.Blazor.dll
Syntax
public class RadzenHtmlEditorColorItem : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender
Examples
<RadzenHtmlEditorColor >
<RadzenHtmlEditorColorItem Value="red" />
<RadzenHtmlEditorColorItem Value="green" />
</RadzenHtmlEditorColor >
Constructors
RadzenHtmlEditorColorItem()
Adds a custom color to RadzenHtmlEditorColor.
Declaration
public RadzenHtmlEditorColorItem()
Examples
<RadzenHtmlEditorColor >
<RadzenHtmlEditorColorItem Value="red" />
<RadzenHtmlEditorColorItem Value="green" />
</RadzenHtmlEditorColor >
Properties
Value
The custom color to add.
Declaration
[Parameter]
public string Value { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
BuildRenderTree(RenderTreeBuilder)
Adds a custom color to RadzenHtmlEditorColor.
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Type | Name | Description |
---|---|---|
RenderTreeBuilder | __builder |