Demos About Radzen
Search Results for

    Show / Hide Table of Contents

    Class RadzenHtmlEditorFontNameItem

    Adds a custom font to a RadzenHtmlEditorFontName.

    Inheritance
    object
    ComponentBase
    RadzenHtmlEditorFontNameItem
    Implements
    IComponent
    IHandleEvent
    IHandleAfterRender
    Inherited Members
    ComponentBase.OnInitializedAsync()
    ComponentBase.OnParametersSet()
    ComponentBase.OnParametersSetAsync()
    ComponentBase.StateHasChanged()
    ComponentBase.ShouldRender()
    ComponentBase.OnAfterRender(bool)
    ComponentBase.OnAfterRenderAsync(bool)
    ComponentBase.InvokeAsync(Action)
    ComponentBase.InvokeAsync(Func<Task>)
    ComponentBase.DispatchExceptionAsync(Exception)
    ComponentBase.SetParametersAsync(ParameterView)
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    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
    ComponentBase.BuildRenderTree(RenderTreeBuilder)

    OnInitialized()

    Adds a custom font to a RadzenHtmlEditorFontName.

    Declaration
    protected override void OnInitialized()
    Overrides
    ComponentBase.OnInitialized()

    Implements

    IComponent
    IHandleEvent
    IHandleAfterRender

    Introducing Radzen Blazor Studio

    Radzen Blazor Studio is a software development environment that empowers developers to design, build and deploy Blazor applications without the traditional hurdles. Write less code and get more done.

    Learn More

    Download Now
    Download Now
    In This Article
    Back to top Radzen Blazor Components, © 2018-2025 Radzen. Source Code licensed under MIT