Class RichTextEditorSlashMenuSettingsBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
RichTextEditorSlashMenuSettingsBuilder
Namespace: Syncfusion.EJ2.RichTextEditor
Assembly: Syncfusion.EJ2.dll
Syntax
public class RichTextEditorSlashMenuSettingsBuilder : ControlBuilder
Constructors
RichTextEditorSlashMenuSettingsBuilder()
Declaration
public RichTextEditorSlashMenuSettingsBuilder()
RichTextEditorSlashMenuSettingsBuilder(RichTextEditorSlashMenuSettings)
Declaration
public RichTextEditorSlashMenuSettingsBuilder(RichTextEditorSlashMenuSettings model)
Parameters
Type | Name | Description |
---|---|---|
RichTextEditorSlashMenuSettings | model |
Methods
Enable(Boolean)
Specifies whether to enable or disable the slash menu in the editor.
Declaration
public RichTextEditorSlashMenuSettingsBuilder Enable(bool value)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | value |
Returns
Items(Object)
Defines the items to be displayed in the slash menu.
Declaration
public RichTextEditorSlashMenuSettingsBuilder Items(object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value |
Returns
PopupHeight(String)
Specifies the height of the slash menu popup. Can be defined in pixels, numbers, or percentages. A numeric value is treated as pixels.
Declaration
public RichTextEditorSlashMenuSettingsBuilder PopupHeight(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
Returns
PopupWidth(String)
Specifies the width of the slash menu popup. Can be defined in pixels, numbers, or percentages. A numeric value is treated as pixels.
Declaration
public RichTextEditorSlashMenuSettingsBuilder PopupWidth(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |