Class RichTextEditorToolbarSettingsBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
RichTextEditorToolbarSettingsBuilder
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.EJ2.RichTextEditor
Assembly: Syncfusion.AspNetMvc.RichTextEditor.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
| Type |
|---|
| RichTextEditorToolbarSettingsBuilder |
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
| Type |
|---|
| RichTextEditorToolbarSettingsBuilder |
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
| Type |
|---|
| RichTextEditorToolbarSettingsBuilder |
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 |
|---|
| RichTextEditorToolbarSettingsBuilder |
Position(ToolbarPosition)
Specifies the position of the toolbar. The available positions are:
- Top: Toolbar appears above the content area (default)
- Bottom: Toolbar appears below the content area
Declaration
public RichTextEditorToolbarSettingsBuilder Position(ToolbarPosition value)
Parameters
| Type | Name | Description |
|---|---|---|
| ToolbarPosition | value |
Returns
| Type |
|---|
| RichTextEditorToolbarSettingsBuilder |
Position(Object)
Specifies the position of the toolbar. The available positions are:
- Top: Toolbar appears above the content area (default)
- Bottom: Toolbar appears below the content area
Declaration
public RichTextEditorToolbarSettingsBuilder Position(object value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | value |
Returns
| Type |
|---|
| RichTextEditorToolbarSettingsBuilder |
Position(String)
Specifies the position of the toolbar. The available positions are:
- Top: Toolbar appears above the content area (default)
- Bottom: Toolbar appears below the content area
Declaration
public RichTextEditorToolbarSettingsBuilder Position(string value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | value |
Returns
| Type |
|---|
| RichTextEditorToolbarSettingsBuilder |
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.
- Popup: Toolbar items displayed in popup container.
Declaration
public RichTextEditorToolbarSettingsBuilder Type(ToolbarType value)
Parameters
| Type | Name | Description |
|---|---|---|
| ToolbarType | value |
Returns
| Type |
|---|
| RichTextEditorToolbarSettingsBuilder |