Kendo UI suffixOptions TagHelper TextAreaSuffixOptionsSettingsTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("suffix-options", ParentTag = "kendo-textarea", TagStructure = TagStructure.NormalOrSelfClosing)]
[HtmlTargetElement("suffix-options", ParentTag = "textarea-editor", TagStructure = TagStructure.NormalOrSelfClosing)]
[RestrictChildren("suffix-template", new string[] { "textarea-suffix-options-icon" })]
[SuppressTagRendering]
public class TextAreaSuffixOptionsSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent, ITemplateComponent
Inheritance: objectTagHelperTagHelperChildBaseTextAreaSuffixOptionsSettingsTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-textarea name="textarea">
<suffix-options icon="search"></suffix-options>
</kendo-textarea>
Child Tags
Constructors
Initializes a new instance of the TextAreaSuffixOptionsSettingsTagHelper class.
public TextAreaSuffixOptionsSettingsTagHelper()
Properties
Defines the name for an existing icon in a Kendo UI theme or SVG contentSet 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.
[HtmlAttributeName("icon")]
public string Icon { get; set; }
If set to false, the suffix adornment will not have a separator.
public bool? Separator { get; set; }
The template for the suffix adornment of the component.
public string Template { get; set; }
The template for the suffix adornment of the component. This option expects the name of a JavaScript function that will be called to return the template.
public string TemplateHandler { get; set; }
The template for the suffix adornment of the component. This option expects the ID of the script element that contains the template.
public string TemplateId { get; set; }
Represents a collection of templates defined for the component.
[HtmlAttributeNotBound]
public IDictionary<string, string> Templates { get; }
Implements:
The template for the suffix adornment of the component. This option expects the IHtmlContent instance containing the created HTML.
public IHtmlContent TemplateView { get; set; }
Methods
Adds the current TagHelper instance to its parent TagHelper.
protected override void AddSelfToParent(TagHelperContext context)
The TagHelper context.
Overrides:
public override Task ProcessAsync(TagHelperContext context, TagHelperOutput output)
Overrides:
Serializes the defined settings.