Kendo UI promptTextArea TagHelper AIPromptPromptTextAreaSettingsTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("prompt-text-area", ParentTag = "kendo-aiprompt", TagStructure = TagStructure.NormalOrSelfClosing)]
[HtmlTargetElement("prompt-text-area", ParentTag = "ai-assistant", TagStructure = TagStructure.NormalOrSelfClosing)]
[RestrictChildren("label", new string[] { })]
[SuppressTagRendering]
public class AIPromptPromptTextAreaSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseAIPromptPromptTextAreaSettingsTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-aiprompt name="aiprompt">
<prompt-text-area fill-mode="FillMode.Solid"></prompt-text-area>
</kendo-aiprompt>
Child Tags
Constructors
Initializes a new instance of the AIPromptPromptTextAreaSettingsTagHelper class.
public AIPromptPromptTextAreaSettingsTagHelper()
Properties
Specifies the input mode attribute for mobile keyboards.
public string InputMode { get; set; }
Specifies the maximum number of characters allowed in the textarea.
public double? MaxLength { get; set; }
Specifies the maximum number of visible rows to which the textarea can auto-resize. Used in combination with resize: "auto".
public double? MaxRows { get; set; }
Specifies the overflow behavior.
public TextAreaOverflow? Overflow { get; set; }
Specifies the placeholder text for the textarea.
public string Placeholder { get; set; }
Specifies the resize behavior.
public TextAreaResize? Resize { get; set; }
Specifies the size.
public ComponentSize? Size { get; set; }
Methods
Adds the current TagHelper instance to its parent TagHelper.
protected override void AddSelfToParent(TagHelperContext context)
The TagHelper context.
Overrides:
ProcessAsync method.
public override Task ProcessAsync(TagHelperContext context, TagHelperOutput output)
Overrides:
Serialize method.