Demos About Radzen
Search Results for

    Show / Hide Table of Contents

    Class RadzenHtmlEditorFormatBlock

    A tool which changes the style of a the selected text by making it a heading or paragraph.

    Inheritance
    object
    ComponentBase
    RadzenHtmlEditorFormatBlock
    Implements
    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    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 RadzenHtmlEditorFormatBlock : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
    Examples
    <RadzenHtmlEditor @bind-Value=@html>
     <RadzenHtmlEditorFormatBlock />
    </RadzenHtmlEdito>
    @code {
      string html = "@lt;strong>Hello</strong> world!";
    }

    Constructors

    RadzenHtmlEditorFormatBlock()

    A tool which changes the style of a the selected text by making it a heading or paragraph.

    Declaration
    public RadzenHtmlEditorFormatBlock()
    Examples
    <RadzenHtmlEditor @bind-Value=@html>
     <RadzenHtmlEditorFormatBlock />
    </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

    Heading1Text

    Specifies the text displayed for the h1 example. Set to "Heading 1" by default.

    Declaration
    [Parameter]
    public string Heading1Text { get; set; }
    Property Value
    Type Description
    string

    Heading2Text

    Specifies the text displayed for the h2 example. Set to "Heading 2" by default.

    Declaration
    [Parameter]
    public string Heading2Text { get; set; }
    Property Value
    Type Description
    string

    Heading3Text

    Specifies the text displayed for the h3 example. Set to "Heading 3" by default.

    Declaration
    [Parameter]
    public string Heading3Text { get; set; }
    Property Value
    Type Description
    string

    Heading4Text

    Specifies the text displayed for the h4 example. Set to "Heading 4" by default.

    Declaration
    [Parameter]
    public string Heading4Text { get; set; }
    Property Value
    Type Description
    string

    Heading5Text

    Specifies the text displayed for the h5 example. Set to "Heading 5" by default.

    Declaration
    [Parameter]
    public string Heading5Text { get; set; }
    Property Value
    Type Description
    string

    Heading6Text

    Specifies the text displayed for the h6 example. Set to "Heading 6" by default.

    Declaration
    [Parameter]
    public string Heading6Text { get; set; }
    Property Value
    Type Description
    string

    NormalText

    Specifies the text displayed for the normal text example. Set to "Normal" by default.

    Declaration
    [Parameter]
    public string NormalText { get; set; }
    Property Value
    Type Description
    string

    Placeholder

    Specifies the placeholder displayed to the user. Set to "Format block" 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 "Text style" by default.

    Declaration
    [Parameter]
    public string Title { get; set; }
    Property Value
    Type Description
    string

    Methods

    BuildRenderTree(RenderTreeBuilder)

    A tool which changes the style of a the selected text by making it a heading or paragraph.

    Declaration
    protected override void BuildRenderTree(RenderTreeBuilder __builder)
    Parameters
    Type Name Description
    RenderTreeBuilder __builder
    Overrides
    ComponentBase.BuildRenderTree(RenderTreeBuilder)

    Dispose()

    IDisposable implementation.

    Declaration
    public void Dispose()

    OnInitialized()

    A tool which changes the style of a the selected text by making it a heading or paragraph.

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

    Implements

    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable

    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