AIPromptView
Defines the fluent API for configuring the AIPromptView settings.
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Syntax:
public class AIPromptView : JsonObject
Inheritance: objectJsonObjectAIPromptView
Inherited Members
Constructors
Initialization for the AIPromptView
public AIPromptView()
Properties
The icon name of the Toolbar button rendered for the view.
public string ButtonIcon { get; set; }
The text of the Toolbar button rendered for the view.
public string ButtonText { get; set; }
The template of the view footer. It can be a string, a function or a Kendo Template.
public string FooterTemplate { get; set; }
The handler for the FooterTemplate
public string FooterTemplateHandler { get; set; }
The id for the FooterTemplate
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.
public ClientHandlerDescriptor InitializeComponents { get; set; }
The name of the view. It is used to identify the view. It should be unique.
public string Name { get; set; }
The commands to display in the prompt view.
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.
public ICollection<string> PromptSuggestions { get; set; }
The template of the view content. It can be a string, a function or a Kendo Template.
public string ViewTemplate { get; set; }
The handler for the ViewTemplate
public string ViewTemplateHandler { get; set; }
The id for the ViewTemplate
public string ViewTemplateId { get; set; }
Methods
Serialize current instance to Dictionary
protected override void Serialize(IDictionary<string, object> json)
Overrides: