Class RadzenHtmlEditorFontName
A tool which changes the font of the selected text.
Inherited Members
Namespace: Radzen.Blazor
Assembly: Radzen.Blazor.dll
Syntax
public class RadzenHtmlEditorFontName : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender
Examples
<RadzenHtmlEditor @bind-Value=@html>
<RadzenHtmlEditorFontName />
</RadzenHtmlEdito>
@code {
string html = "@lt;strong>Hello</strong> world!";
}
Constructors
RadzenHtmlEditorFontName()
A tool which changes the font of the selected text.
Declaration
public RadzenHtmlEditorFontName()
Examples
<RadzenHtmlEditor @bind-Value=@html>
<RadzenHtmlEditorFontName />
</RadzenHtmlEdito>
@code {
string html = "@lt;strong>Hello</strong> world!";
}
Properties
ChildContent
Sets the child content.
Declaration
[Parameter]
public RenderFragment ChildContent { get; set; }
Property Value
| Type | Description |
|---|---|
| RenderFragment |
Editor
The RadzenHtmlEditor component which this tool is part of.
Declaration
[CascadingParameter]
public RadzenHtmlEditor Editor { get; set; }
Property Value
| Type | Description |
|---|---|
| RadzenHtmlEditor |
Placeholder
Specifies the placeholder displayed to the user. Set to "Font" by default.
Declaration
[Parameter]
public string Placeholder { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Title
Specifies the title (tooltip) displayed when the user hovers the tool. Set to "Font name" by default.
Declaration
[Parameter]
public string Title { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
BuildRenderTree(RenderTreeBuilder)
A tool which changes the font of the selected text.
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
| Type | Name | Description |
|---|---|---|
| RenderTreeBuilder | __builder |