Class RadzenHtmlEditorFontName
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
Editor
The RadzenHtmlEditor component which this tool is part of.
[CascadingParameter]
public RadzenHtmlEditor Editor { get; set; }
Property Value
Placeholder
Specifies the placeholder displayed to the user. Set to "Font"
by default.
[Parameter]
public string Placeholder { get; set; }
Property Value
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
Methods
BuildRenderTree(RenderTreeBuilder)
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
RenderTreeBuilder