menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class RichTextEditorToolbarSettings - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class RichTextEditorToolbarSettings

    A class used for configuring the ToolbarSettings properties in the Rich Text Editor.

    Inheritance
    System.Object
    SfBaseComponent
    RichTextEditorToolbarSettings
    Inherited Members
    SfBaseComponent.Dispose()
    SfBaseComponent.Dispose(Boolean)
    SfBaseComponent.OnAfterRenderAsync(Boolean)
    SfBaseComponent.OnObservableChange(String, Object, Boolean, NotifyCollectionChangedEventArgs)
    Namespace: Syncfusion.Blazor.RichTextEditor
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class RichTextEditorToolbarSettings : SfBaseComponent

    Constructors

    RichTextEditorToolbarSettings()

    Declaration
    public RichTextEditorToolbarSettings()

    Properties

    Enable

    Specifies whether to render the toolbar in the Rich Text Editor.

    Declaration
    public bool Enable { get; set; }
    Property Value
    Type Description
    System.Boolean

    true enables the toolbar, false disables it. Default is true.

    Remarks

    If enabled, the rich text toolbar is displayed, providing editing controls.

    EnableFloating

    Specifies whether to enable or disable the floating toolbar.

    Declaration
    public bool EnableFloating { get; set; }
    Property Value
    Type Description
    System.Boolean

    true enables the floating toolbar; default is true.

    Remarks

    When floating is enabled, the toolbar remains visible as the user scrolls through the editor's content.

    Items

    An array of objects that is used to configure the toolbar items.

    Declaration
    public List<ToolbarItemModel> Items { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<ToolbarItemModel>

    A list of ToolbarItemModel defining the toolbar items.

    Remarks

    The toolbar items are configurable and determine which tools are available to the user.

    Type

    Specifies the types of toolbar display.

    Declaration
    public ToolbarType Type { get; set; }
    Property Value
    Type Description
    ToolbarType

    A value from the ToolbarType enumeration.

    Remarks

    ToolbarType defines how toolbar items are displayed: Expand, MultiRow, or Scrollable.

    Methods

    BuildRenderTree(RenderTreeBuilder)

    Declaration
    protected override void BuildRenderTree(RenderTreeBuilder __builder)
    Parameters
    Type Name Description
    Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder

    OnInitializedAsync()

    Method invoked when the component is ready to start.

    Declaration
    protected override Task OnInitializedAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task

    A System.Threading.Tasks.Task representing any asynchronous operation.

    Overrides
    SfBaseComponent.OnInitializedAsync()

    OnParametersSetAsync()

    Method invoked when the component has received parameters from its parent.

    Declaration
    protected override Task OnParametersSetAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task

    A System.Threading.Tasks.Task representing any asynchronous operation.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved