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 toolbar in RichTextEditor.
Declaration
public bool Enable { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is true |
EnableFloating
Specifies whether to enable/disable floating toolbar.
Declaration
public bool EnableFloating { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is true |
ItemConfigs
Using this property, Modify the default toolbar item configuration like icon class.
Declaration
public object ItemConfigs { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The default value is null |
Items
An array of string or object that is used to configure items.
Declaration
public object Items { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The default value is null |
Type
Specifies the Toolbar display types. The possible types are:
- Expand: Toolbar items placed within the available space and rest of the items are placed to the extended menu section.
- MultiRow: Toolbar which placed at top of Rich Text Editor editing area.
- Scrollable: All the toolbar items are 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 |