alexa
menu

ASP.NET MVC - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class RichTextEditorAIAssistantSettingsBuilder

    Inheritance
    System.Object
    Syncfusion.EJ2.ControlBuilder
    RichTextEditorAIAssistantSettingsBuilder
    Namespace: Syncfusion.EJ2.RichTextEditor
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class RichTextEditorAIAssistantSettingsBuilder : ControlBuilder

    Constructors

    RichTextEditorAIAssistantSettingsBuilder()

    Declaration
    public RichTextEditorAIAssistantSettingsBuilder()

    RichTextEditorAIAssistantSettingsBuilder(RichTextEditorAIAssistantSettings)

    Declaration
    public RichTextEditorAIAssistantSettingsBuilder(RichTextEditorAIAssistantSettings model)
    Parameters
    Type Name Description
    RichTextEditorAIAssistantSettings model

    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
    Type
    RichTextEditorAIAssistantSettingsBuilder

    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
    Type
    RichTextEditorAIAssistantSettingsBuilder

    HeaderToolbarSettings(Object)

    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
    Type
    RichTextEditorAIAssistantSettingsBuilder

    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
    Type
    RichTextEditorAIAssistantSettingsBuilder

    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
    Type
    RichTextEditorAIAssistantSettingsBuilder

    PopupMaxHeight(String)

    Sets the max height of the AI Assistant popup.

    Declaration
    public RichTextEditorAIAssistantSettingsBuilder PopupMaxHeight(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    RichTextEditorAIAssistantSettingsBuilder

    PopupWidth(String)

    Sets the width of the AI Assistant popup.

    Declaration
    public RichTextEditorAIAssistantSettingsBuilder PopupWidth(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    RichTextEditorAIAssistantSettingsBuilder

    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
    Type
    RichTextEditorAIAssistantSettingsBuilder

    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
    Type
    RichTextEditorAIAssistantSettingsBuilder

    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
    Type
    RichTextEditorAIAssistantSettingsBuilder

    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
    Type
    RichTextEditorAIAssistantSettingsBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved