alexa
menu

ASP.NET Core - EJ2

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

    Show / Hide Table of Contents

    Class RichTextEditorAIAssistantSettings

    Inheritance
    System.Object
    Syncfusion.EJ2.EJTagHelper
    RichTextEditorAIAssistantSettings
    Namespace: Syncfusion.EJ2.RichTextEditor
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class RichTextEditorAIAssistantSettings : EJTagHelper

    Constructors

    RichTextEditorAIAssistantSettings()

    Declaration
    public RichTextEditorAIAssistantSettings()

    Properties

    BannerTemplate

    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 string BannerTemplate { get; set; }
    Property Value
    Type Description
    System.String

    The default value is ""

    Commands

    Defines the predefined AI command options displayed in the command dropdown menu. Each command contains text, prompts, icons, and optional nested items.

    Declaration
    public object Commands { get; set; }
    Property Value
    Type Description
    System.Object

    The default value is null

    ContentTemplate

    To get or set value for ContentTemplate.

    Declaration
    public MvcTemplate<object> ContentTemplate { get; set; }
    Property Value
    Type
    Syncfusion.EJ2.MvcTemplate<System.Object>

    HeaderToolbarSettings

    Configures the toolbar in the header section of the AI Assistant interface. Allows customization of toolbar items, appearance, and behavior.

    Declaration
    public object HeaderToolbarSettings { get; set; }
    Property Value
    Type Description
    System.Object

    The default value is null

    MaxPromptHistory

    Defines the maximum number of prompts that can be stored in the editor's history stack.

    Declaration
    public double MaxPromptHistory { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is 20

    Placeholder

    Specifies the placeholder text shown in the AI prompt textarea.

    Declaration
    public string Placeholder { get; set; }
    Property Value
    Type Description
    System.String

    The default value is "Ask AI to rewrite or generate content."

    PopupMaxHeight

    Sets the max height of the AI Assistant popup.

    Declaration
    public string PopupMaxHeight { get; set; }
    Property Value
    Type Description
    System.String

    The default value is "400px"

    PopupWidth

    Sets the width of the AI Assistant popup.

    Declaration
    public string PopupWidth { get; set; }
    Property Value
    Type Description
    System.String

    The default value is "600px"

    Prompts

    Defines the collection of predefined prompts and their corresponding responses. These prompts can be presented to the user as quick-access options.

    Declaration
    public object Prompts { get; set; }
    Property Value
    Type Description
    System.Object

    The default value is null

    PromptToolbarSettings

    Configures the toolbar in the prompt editor (user input) section. Allows customization of toolbar items, appearance, and behavior for the input area.

    Declaration
    public object PromptToolbarSettings { get; set; }
    Property Value
    Type Description
    System.Object

    The default value is null

    ResponseToolbarSettings

    Configures the toolbar in the AI response viewer section. Allows customization of toolbar items, appearance, and behavior for the response area.

    Declaration
    public object ResponseToolbarSettings { get; set; }
    Property Value
    Type Description
    System.Object

    The default value is null

    Suggestions

    Defines suggestion prompts displayed to the user as guidance. These suggestions help users understand what kinds of queries they can make.

    Declaration
    public string[] Suggestions { get; set; }
    Property Value
    Type Description
    System.String[]

    The default value is null

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved