Class RadzenHtmlEditorFontSize
A tool which changes the font size of the selected text.
Inherited Members
Namespace: Radzen.Blazor
Assembly: Radzen.Blazor.dll
Syntax
public class RadzenHtmlEditorFontSize : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender
Examples
<RadzenHtmlEditor @bind-Value=@html>
<RadzenHtmlEditorFontSize />
</RadzenHtmlEdito>
@code {
string html = "@lt;strong>Hello</strong> world!";
}
Constructors
RadzenHtmlEditorFontSize()
A tool which changes the font size of the selected text.
Declaration
public RadzenHtmlEditorFontSize()
Examples
<RadzenHtmlEditor @bind-Value=@html>
<RadzenHtmlEditorFontSize />
</RadzenHtmlEdito>
@code {
string html = "@lt;strong>Hello</strong> world!";
}
Properties
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 size"
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 size"
by default.
Declaration
[Parameter]
public string Title { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
BuildRenderTree(RenderTreeBuilder)
A tool which changes the font size of the selected text.
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Type | Name | Description |
---|---|---|
RenderTreeBuilder | __builder |