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 to this section

Adds a custom font to a RadzenHtmlEditorFontName.

Declaration
public RadzenHtmlEditorFontNameItem()

Properties

ParentLink to this section

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 to this section

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 to this section

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 to this section

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

OnInitializedLink to this section

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