RadzenHtmlEditorFontNameItem Class

Adds a custom font to a RadzenHtmlEditorFontName.

Inheritance

Object

ComponentBase

RadzenHtmlEditorFontNameItem

Implements

IComponent

IHandleEvent

IHandleAfterRender

Inherited Members

ComponentBase.OnInitializedAsync

ComponentBase.OnParametersSet

ComponentBase.OnParametersSetAsync

ComponentBase.StateHasChanged

ComponentBase.ShouldRender

ComponentBase.OnAfterRender

ComponentBase.OnAfterRenderAsync

ComponentBase.InvokeAsync

ComponentBase.DispatchExceptionAsync

ComponentBase.SetParametersAsync

ComponentBase.RendererInfo

ComponentBase.Assets

ComponentBase.AssignedRenderMode

Namespace: Radzen.Blazor

Assembly: Radzen.Blazor.dll

Syntax

public class RadzenHtmlEditorFontNameItem : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender

Examples

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

Constructors

RadzenHtmlEditorFontNameItemlink

Adds a custom font to a RadzenHtmlEditorFontName.

Declaration
public RadzenHtmlEditorFontNameItem()

Properties

Parentlink

The RadzenHtmlEditorFontName tool which this tool belongs to.

Declaration
public RadzenHtmlEditorFontName Parent { get; set; }
Property Value
Type Description
RadzenHtmlEditorFontNameThe RadzenHtmlEditorFontName tool which this tool belongs to.

Textlink

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

Declaration
public string Text { get; set; }
Property Value
Type Description
stringThe name of the font e.g. "Times New Roman".

Valuelink

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

Declaration
public string Value { get; set; }
Property Value
Type Description
stringThe CSS value of the font. Use quotes if it contains spaces.

Methods

BuildRenderTreelink

Declaration
protected override void BuildRenderTree(Rendering.RenderTreeBuilder __builder)
Parameters
Type Name Description
Rendering.RenderTreeBuilder __builder

OnInitializedlink

Declaration
protected override void OnInitialized()
An error has occurred. This app may no longer respond until reloaded. Reload 🗙