Class RichTextEditorAIAssistantSettingsBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
RichTextEditorAIAssistantSettingsBuilder
Assembly: Syncfusion.EJ2.dll
Syntax
public class RichTextEditorAIAssistantSettingsBuilder : ControlBuilder
Constructors
RichTextEditorAIAssistantSettingsBuilder()
Declaration
public RichTextEditorAIAssistantSettingsBuilder()
RichTextEditorAIAssistantSettingsBuilder(RichTextEditorAIAssistantSettings)
Declaration
public RichTextEditorAIAssistantSettingsBuilder(RichTextEditorAIAssistantSettings model)
Parameters
Methods
BannerTemplate(String)
Specifies the template for the banner in the AI Assistant component.
Represents the content or layout used to render the banner. Can be a string or a function.
Declaration
public RichTextEditorAIAssistantSettingsBuilder BannerTemplate(string value)
Parameters
| Type |
Name |
Description |
| System.String |
value |
|
Returns
Commands(Object)
Defines the predefined AI command options displayed in the command dropdown menu.
Each command contains text, prompts, icons, and optional nested items.
Declaration
public RichTextEditorAIAssistantSettingsBuilder Commands(object value)
Parameters
| Type |
Name |
Description |
| System.Object |
value |
|
Returns
Configures the toolbar in the header section of the AI Assistant interface.
Allows customization of toolbar items, appearance, and behavior.
Declaration
public RichTextEditorAIAssistantSettingsBuilder HeaderToolbarSettings(object value)
Parameters
| Type |
Name |
Description |
| System.Object |
value |
|
Returns
MaxPromptHistory(Double)
Defines the maximum number of prompts that can be stored in the editor's
history stack.
Declaration
public RichTextEditorAIAssistantSettingsBuilder MaxPromptHistory(double value)
Parameters
| Type |
Name |
Description |
| System.Double |
value |
|
Returns
Placeholder(String)
Specifies the placeholder text shown in the AI prompt textarea.
Declaration
public RichTextEditorAIAssistantSettingsBuilder Placeholder(string value)
Parameters
| Type |
Name |
Description |
| System.String |
value |
|
Returns
Sets the max height of the AI Assistant popup.
Declaration
public RichTextEditorAIAssistantSettingsBuilder PopupMaxHeight(string value)
Parameters
| Type |
Name |
Description |
| System.String |
value |
|
Returns
Sets the width of the AI Assistant popup.
Declaration
public RichTextEditorAIAssistantSettingsBuilder PopupWidth(string value)
Parameters
| Type |
Name |
Description |
| System.String |
value |
|
Returns
Prompts(Object)
Defines the collection of predefined prompts and their corresponding responses.
These prompts can be presented to the user as quick-access options.
Declaration
public RichTextEditorAIAssistantSettingsBuilder Prompts(object value)
Parameters
| Type |
Name |
Description |
| System.Object |
value |
|
Returns
PromptToolbarSettings(Object)
Configures the toolbar in the prompt editor (user input) section.
Allows customization of toolbar items, appearance, and behavior for the input area.
Declaration
public RichTextEditorAIAssistantSettingsBuilder PromptToolbarSettings(object value)
Parameters
| Type |
Name |
Description |
| System.Object |
value |
|
Returns
ResponseToolbarSettings(Object)
Configures the toolbar in the AI response viewer section.
Allows customization of toolbar items, appearance, and behavior for the response area.
Declaration
public RichTextEditorAIAssistantSettingsBuilder ResponseToolbarSettings(object value)
Parameters
| Type |
Name |
Description |
| System.Object |
value |
|
Returns
Suggestions(String[])
Defines suggestion prompts displayed to the user as guidance.
These suggestions help users understand what kinds of queries they can make.
Declaration
public RichTextEditorAIAssistantSettingsBuilder Suggestions(string[] value)
Parameters
| Type |
Name |
Description |
| System.String[] |
value |
|
Returns