Class RadzenHtmlEditorFontNameItem
Adds a custom font to a RadzenHtmlEditorFontName.
public class RadzenHtmlEditorFontNameItem : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender
- Inheritance
-
RadzenHtmlEditorFontNameItem
- Implements
- Inherited Members
Examples
<RadzenHtmlEditorFontName>
<RadzenHtmlEditorFontNameItem Text="Times New Roman" Value='"Times New Roman"' />
</RadzenHtmlEditorFontName>
Constructors
RadzenHtmlEditorFontNameItem()
public RadzenHtmlEditorFontNameItem()
Properties
Parent
The RadzenHtmlEditorFontName tool which this tool belongs to.
[CascadingParameter]
public RadzenHtmlEditorFontName Parent { get; set; }
Property Value
Text
The name of the font e.g. "Times New Roman"
.
[Parameter]
public string Text { get; set; }
Property Value
Value
The CSS value of the font. Use quotes if it contains spaces.
[Parameter]
public string Value { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
RenderTreeBuilder
OnInitialized()
protected override void OnInitialized()