Table of Contents

Class RadzenHtmlEditorFontName

Namespace
Radzen.Blazor
Assembly
Radzen.Blazor.dll

A tool which changes the font of the selected text.

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

Examples

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

Constructors

RadzenHtmlEditorFontName()

public RadzenHtmlEditorFontName()

Properties

ChildContent

Sets the child content.

[Parameter]
public RenderFragment ChildContent { get; set; }

Property Value

RenderFragment

Editor

The RadzenHtmlEditor component which this tool is part of.

[CascadingParameter]
public RadzenHtmlEditor Editor { get; set; }

Property Value

RadzenHtmlEditor

Placeholder

Specifies the placeholder displayed to the user. Set to "Font" by default.

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

Property Value

string

Title

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

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

Property Value

string

Methods

BuildRenderTree(RenderTreeBuilder)

protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder RenderTreeBuilder