Class RadzenHtmlEditorFontNameItem
Adds a custom font to a RadzenHtmlEditorFontName.
Inherited Members
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
RadzenHtmlEditorFontNameItem()
Adds a custom font to a RadzenHtmlEditorFontName.
Declaration
public RadzenHtmlEditorFontNameItem()
Examples
<RadzenHtmlEditorFontName>
<RadzenHtmlEditorFontNameItem Text="Times New Roman" Value='"Times New Roman"' />
</RadzenHtmlEditorFontName>
Properties
Parent
The RadzenHtmlEditorFontName tool which this tool belongs to.
Declaration
[CascadingParameter]
public RadzenHtmlEditorFontName Parent { get; set; }
Property Value
Type | Description |
---|---|
RadzenHtmlEditorFontName |
Text
The name of the font e.g. "Times New Roman"
.
Declaration
[Parameter]
public string Text { get; set; }
Property Value
Type | Description |
---|---|
string |
Value
The CSS value of the font. Use quotes if it contains spaces.
Declaration
[Parameter]
public string Value { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
BuildRenderTree(RenderTreeBuilder)
Adds a custom font to a RadzenHtmlEditorFontName.
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Type | Name | Description |
---|---|---|
RenderTreeBuilder | __builder |
Overrides
OnInitialized()
Adds a custom font to a RadzenHtmlEditorFontName.
Declaration
protected override void OnInitialized()