Kendo UI messages TagHelper InlineAIPromptMessagesSettingsTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("messages", ParentTag = "kendo-inlineaiprompt", TagStructure = TagStructure.WithoutEndTag)]
[SuppressTagRendering]
public class InlineAIPromptMessagesSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseInlineAIPromptMessagesSettingsTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-inlineaiprompt name="inlineAIPrompt">
<messages commands-menu="Commands Menu" />
</kendo-inlineaiprompt>
Constructors
Creates an InlineAIPromptMessagesSettingsTagHelper instance.
public InlineAIPromptMessagesSettingsTagHelper()
Properties
The text of the prompt context menu that will render the commands.
public string CommandsMenu { get; set; }
The text of the default copy output command.
public string CopyOutputAction { get; set; }
The text of the default discard output command.
public string DiscardOutputAction { get; set; }
The text of the prompt send button that will be used to as aria labels.
public string PromptSend { get; set; }
The text of the default retry output command.
public string RetryOutputAction { get; set; }
The text of the stop output retrieval button that will be used to as aria labels.
public string StopOutputRetrieval { get; set; }
Methods
Adds the current instance to the parent TagHelper, if applicable.
protected override void AddSelfToParent(TagHelperContext context)
Overrides:
public override Task ProcessAsync(TagHelperContext context, TagHelperOutput output)
Overrides:
Serializes the Inline AI Prompt messages.