Table of Contents

Class RadzenHtmlEditorFontNameItem

Namespace
Radzen.Blazor
Assembly
Radzen.Blazor.dll

Adds a custom font to a RadzenHtmlEditorFontName.

public class RadzenHtmlEditorFontNameItem : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender
Inheritance
RadzenHtmlEditorFontNameItem
Implements
Inherited Members

Examples

<RadzenHtmlEditorFontName>
<RadzenHtmlEditorFontNameItem Text="Times New Roman" Value='"Times New Roman"' />
</RadzenHtmlEditorFontName>

Constructors

RadzenHtmlEditorFontNameItem()

public RadzenHtmlEditorFontNameItem()

Properties

Parent

The RadzenHtmlEditorFontName tool which this tool belongs to.

[CascadingParameter]
public RadzenHtmlEditorFontName Parent { get; set; }

Property Value

RadzenHtmlEditorFontName

Text

The name of the font e.g. "Times New Roman".

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

Property Value

string

Value

The CSS value of the font. Use quotes if it contains spaces.

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

Property Value

string

Methods

BuildRenderTree(RenderTreeBuilder)

protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder RenderTreeBuilder

OnInitialized()

protected override void OnInitialized()