AIPromptViewBuilder
Defines the fluent API for configuring the AIPromptView settings.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class AIPromptViewBuilder
Inheritance: objectAIPromptViewBuilder
Inherited Members
Constructors
Initialize the AIPromptViewBuilder
public AIPromptViewBuilder(AIPromptView settings)
The AIPromptView
Methods
The icon name of the Toolbar button rendered for the view.
public AIPromptViewBuilder ButtonIcon(string value)
The value that configures the buttonicon.
Returns:The text of the Toolbar button rendered for the view.
public AIPromptViewBuilder ButtonText(string value)
The value that configures the buttontext.
Returns:The template of the view footer. It can be a string, a function or a Kendo Template.
public AIPromptViewBuilder FooterTemplate(string value)
The value that configures the footertemplate.
Returns:The template of the view footer. It can be a string, a function or a Kendo Template.
public AIPromptViewBuilder FooterTemplate<TModel>(TemplateBuilder<TModel> template)
A Template component that configures the footertemplate.
Returns:The template of the view footer. It can be a string, a function or a Kendo Template.
public AIPromptViewBuilder FooterTemplateHandler(string value)
The value that configures the footertemplate.
Returns:The template of the view footer. It can be a string, a function or a Kendo Template.
public AIPromptViewBuilder FooterTemplateId(string value)
The value that configures the footertemplate.
Returns:The template of the view footer. It can be a string, a function or a Kendo Template.
public AIPromptViewBuilder FooterTemplateView(MvcHtmlString value)
The value that configures the footertemplate.
Returns: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.
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 AIPromptViewBuilder InitializeComponents(string handler)
The value that configures the initializecomponents action.
Returns:The name of the view. It is used to identify the view. It should be unique.
public AIPromptViewBuilder Name(string value)
The value that configures the name.
Returns:The commands to display in the prompt view.
public AIPromptViewBuilder PromptCommands(Action<AIPromptViewPromptCommandFactory> configurator)
The action that configures the promptcommands.
Returns:Sets the PromptSuggestions collection
public AIPromptViewBuilder PromptSuggestions(ICollection<string> value)
The collection
Returns:Adds a suggestion to the PromptSuggestions collection.
public AIPromptViewBuilder PromptSuggestions(string value)
The suggestion
Returns:Defines the type of the view.
public AIPromptViewBuilder Type(ViewType value)
The value that configures the type.
Returns:The template of the view content. It can be a string, a function or a Kendo Template.
public AIPromptViewBuilder ViewTemplate(string value)
The value that configures the viewtemplate.
Returns:The template of the view content. It can be a string, a function or a Kendo Template.
public AIPromptViewBuilder ViewTemplate<TModel>(TemplateBuilder<TModel> template)
A Template component that configures the viewtemplate.
Returns:The template of the view content. It can be a string, a function or a Kendo Template.
public AIPromptViewBuilder ViewTemplateHandler(string value)
The value that configures the viewtemplate.
Returns:The template of the view content. It can be a string, a function or a Kendo Template.
public AIPromptViewBuilder ViewTemplateId(string value)
The value that configures the viewtemplate.
Returns:The template of the view content. It can be a string, a function or a Kendo Template.
public AIPromptViewBuilder ViewTemplateView(MvcHtmlString value)
The value that configures the viewtemplate.
Returns: