menu

ASP.NET MVC - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class RichTextEditorToolbarSettings - ASP.NETMVC-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class RichTextEditorToolbarSettings

    Inheritance
    System.Object
    Syncfusion.EJ2.EJTagHelper
    RichTextEditorToolbarSettings
    Namespace: Syncfusion.EJ2.RichTextEditor
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class RichTextEditorToolbarSettings : EJTagHelper

    Constructors

    RichTextEditorToolbarSettings()

    Declaration
    public RichTextEditorToolbarSettings()

    Properties

    ContentTemplate

    To get or set value for ContentTemplate.

    Declaration
    public MvcTemplate<object> ContentTemplate { get; set; }
    Property Value
    Type
    Syncfusion.EJ2.MvcTemplate<System.Object>

    Enable

    Specifies whether to render the toolbar in the RichTextEditor.

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

    The default value is true

    EnableFloating

    Specifies whether to enable or disable the floating toolbar.

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

    The default value is true

    ItemConfigs

    Allows modification of the default toolbar item configuration, such as the icon class.

    Declaration
    public object ItemConfigs { get; set; }
    Property Value
    Type Description
    System.Object

    The default value is null

    Items

    An array of strings or objects used to configure the toolbar items.

    Declaration
    public object Items { get; set; }
    Property Value
    Type Description
    System.Object

    The default value is null

    Type

    Specifies the display types of the toolbar. The available types are:

    • Expand: Toolbar items fit within available space, and the rest are placed in the extended menu.
    • MultiRow: Toolbar placed at the top of the RichTextEditor editing area.
    • Scrollable: Toolbar items displayed in a single line with horizontal scrolling enabled.
    Declaration
    public ToolbarType Type { get; set; }
    Property Value
    Type Description
    ToolbarType

    The default value is ToolbarType.Expand

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