menu

Blazor

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

    Show / Hide Table of Contents

    Class RichTextEditorToolbarSettings

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

    Inheritance
    System.Object
    SfBaseComponent
    RichTextEditorToolbarSettings
    Inherited Members
    SfBaseComponent.OnAfterRenderAsync(Boolean)
    SfBaseComponent.Dispose()
    SfBaseComponent.Dispose(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 a value whether render the toolbar in Rich Text Editor.

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

    EnableFloating

    Specifies whether to enable or disable the floating toolbar.

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

    Items

    An array of string or object that is used to configure the toolbar items.

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

    Type

    Specifies the Toolbar display types. The possible types are:

    • Expand: Toolbar items will be placed within the available space and rest of the items will be placed in the extended menu section.
    • MultiRow: Toolbar which is placed at top of Rich Text Editor editing area.
    • Scrollable: All the toolbar items will be displayed in a single line with horizontal scrolling enabled.
    Declaration
    public ToolbarType Type { get; set; }
    Property Value
    Type Description
    ToolbarType

    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 - 2023 Syncfusion Inc. All Rights Reserved