New to Telerik UI for ASP.NET MVC? Start a free 30-day trial

Defines the fluent API for configuring the AIPromptView settings.

Definition

Constructors

Initialization for the AIPromptView

C#
public AIPromptView()

Properties

The icon name of the Toolbar button rendered for the view.

C#
public string ButtonIcon { get; set; }

The text of the Toolbar button rendered for the view.

C#
public string ButtonText { get; set; }

The template of the view footer. It can be a string, a function or a Kendo Template.

C#
public string FooterTemplate { get; set; }

The handler for the FooterTemplate

C#
public string FooterTemplateHandler { get; set; }

The id for the FooterTemplate

C#
public string FooterTemplateId { get; set; }

A function that is executed when the view is rendered. It is used to initialize the components of the view with a custom content template.

C#
public ClientHandlerDescriptor InitializeComponents { get; set; }

The name of the view. It is used to identify the view. It should be unique.

C#
public string Name { get; set; }

The commands to display in the prompt view.

C#
public List<AIPromptViewPromptCommand> PromptCommands { get; set; }

An array of prompt suggestions as strings to display in the prompt view. The suggestions can be clicked to populate the prompt input.

C#
public ICollection<string> PromptSuggestions { get; set; }

Defines the type of the view.

C#
public ViewType? Type { get; set; }

The template of the view content. It can be a string, a function or a Kendo Template.

C#
public string ViewTemplate { get; set; }

The handler for the ViewTemplate

C#
public string ViewTemplateHandler { get; set; }

The id for the ViewTemplate

C#
public string ViewTemplateId { get; set; }

Methods

Serialize current instance to Dictionary

C#
protected override void Serialize(IDictionary<string, object> json)
Parameters:jsonIDictionary<string, object>

Overrides: JsonObject.Serialize(IDictionary<string, object>)