Class RichTextEditorToolbarSettingsBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
RichTextEditorToolbarSettingsBuilder
Namespace: Syncfusion.EJ2.RichTextEditor
Assembly: Syncfusion.EJ2.dll
Syntax
public class RichTextEditorToolbarSettingsBuilder : ControlBuilder
Constructors
RichTextEditorToolbarSettingsBuilder()
Declaration
public RichTextEditorToolbarSettingsBuilder()
RichTextEditorToolbarSettingsBuilder(RichTextEditorToolbarSettings)
Declaration
public RichTextEditorToolbarSettingsBuilder(RichTextEditorToolbarSettings model)
Parameters
Type | Name | Description |
---|---|---|
RichTextEditorToolbarSettings | model |
Methods
Enable(Boolean)
Specifies whether to render the toolbar in the RichTextEditor.
Declaration
public RichTextEditorToolbarSettingsBuilder Enable(bool value)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | value |
Returns
EnableFloating(Boolean)
Specifies whether to enable or disable the floating toolbar.
Declaration
public RichTextEditorToolbarSettingsBuilder EnableFloating(bool value)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | value |
Returns
ItemConfigs(Object)
Allows modification of the default toolbar item configuration, such as the icon class.
Declaration
public RichTextEditorToolbarSettingsBuilder ItemConfigs(object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value |
Returns
Items(Object)
An array of strings or objects used to configure the toolbar items.
Declaration
public RichTextEditorToolbarSettingsBuilder Items(object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value |
Returns
Type(ToolbarType)
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 RichTextEditorToolbarSettingsBuilder Type(ToolbarType value)
Parameters
Type | Name | Description |
---|---|---|
ToolbarType | value |