AIPromptViewBuilder
Methods
PromptSuggestions(System.String)
Adds a suggestion to the PromptSuggestions collection.
Parameters
value - System.String
The suggestion
PromptSuggestions(System.Collections.Generic.ICollection)
Sets the PromptSuggestions collection
Parameters
value - System.Collections.Generic.ICollection<String>
The collection
ButtonText(System.String)
The text of the Toolbar button rendered for the view.
Parameters
value - System.String
The value for ButtonText
ButtonIcon(System.String)
The icon name of the Toolbar button rendered for the view.
Parameters
value - System.String
The value for ButtonIcon
Name(System.String)
The name of the view. It is used to identify the view. It should be unique.
Parameters
value - System.String
The value for Name
ViewTemplate(System.String)
The template of the view content. It can be a string, a function or a Kendo Template.
Parameters
value - System.String
The value for ViewTemplate
ViewTemplateId(System.String)
The template of the view content. It can be a string, a function or a Kendo Template.
Parameters
templateId - System.String
The ID of the template element for ViewTemplate
ViewTemplateView(Microsoft.AspNetCore.Html.IHtmlContent)
The template of the view content. It can be a string, a function or a Kendo Template.
Parameters
templateView - Microsoft.AspNetCore.Html.IHtmlContent
The view that contains the template for ViewTemplate
ViewTemplateHandler(System.String)
The template of the view content. It can be a string, a function or a Kendo Template.
Parameters
templateHandler - System.String
The handler that returs the template for ViewTemplate
ViewTemplate(Kendo.Mvc.UI.TemplateBuilder)
The template of the view content. It can be a string, a function or a Kendo Template.
Parameters
template - TemplateBuilder<TModel>
A Template component that configures the viewtemplate.
FooterTemplate(System.String)
The template of the view footer. It can be a string, a function or a Kendo Template.
Parameters
value - System.String
The value for FooterTemplate
FooterTemplateId(System.String)
The template of the view footer. It can be a string, a function or a Kendo Template.
Parameters
templateId - System.String
The ID of the template element for FooterTemplate
FooterTemplateView(Microsoft.AspNetCore.Html.IHtmlContent)
The template of the view footer. It can be a string, a function or a Kendo Template.
Parameters
templateView - Microsoft.AspNetCore.Html.IHtmlContent
The view that contains the template for FooterTemplate
FooterTemplateHandler(System.String)
The template of the view footer. It can be a string, a function or a Kendo Template.
Parameters
templateHandler - System.String
The handler that returs the template for FooterTemplate
FooterTemplate(Kendo.Mvc.UI.TemplateBuilder)
The template of the view footer. It can be a string, a function or a Kendo Template.
Parameters
template - TemplateBuilder<TModel>
A Template component that configures the footertemplate.
InitializeComponents(System.String)
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.
Parameters
handler - System.String
The name of the JavaScript function that will be evaluated.
InitializeComponents(System.Func)
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.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
PromptCommands(System.Action)
The commands to display in the prompt view.
Parameters
configurator - System.Action<AIPromptViewPromptCommandFactory>
The configurator for the promptcommands setting.
Type(Kendo.Mvc.UI.ViewType)
Defines the type of the view.
Parameters
value - ViewType
The value for Type