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

Kendo UI AIPromptView class

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class AIPromptView

Inheritance: objectAIPromptView

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

C#
public AIPromptView()

Properties

AIPrompt member.

C#
public AIPrompt AIPrompt { get; set; }
C#
public string ButtonIcon { get; set; }

The icon name of the Toolbar button rendered for the view.Set this option to an icon descriptor such as { name: "gear", variant: "outline" }. The variant can be outline, solid, or duotone; it applies to SVG rendering and is ignored for font icons.

C#
public AIPromptViewButtonIconSettings ButtonIconSettings { get; }

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 that returns the template used for FooterTemplate

C#
public string FooterTemplateHandler { get; set; }

The id of the script element used for 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 that returns the template used for ViewTemplate

C#
public string ViewTemplateHandler { get; set; }

The id of the script element used for ViewTemplate

C#
public string ViewTemplateId { get; set; }

Methods

Serialize current instance to Dictionary

C#
public Dictionary<string, object> Serialize()
Returns:

Dictionary<string, object>

Serialize current instance to Dictionary

C#
protected virtual Dictionary<string, object> SerializeSettings()
Returns:

Dictionary<string, object>