Kendo UI suffixOptions TagHelper AutoCompleteSuffixOptionsSettingsTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("suffix-options", ParentTag = "kendo-autocomplete", TagStructure = TagStructure.NormalOrSelfClosing)]
[HtmlTargetElement("suffix-options", ParentTag = "autocomplete-editor", TagStructure = TagStructure.NormalOrSelfClosing)]
[RestrictChildren("suffix-template", new string[] { "autocomplete-suffix-options-icon" })]
[SuppressTagRendering]
public class AutoCompleteSuffixOptionsSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent, ITemplateComponent
Inheritance: objectTagHelperTagHelperChildBaseAutoCompleteSuffixOptionsSettingsTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-autocomplete name="autocomplete">
<suffix-options icon="search"></suffix-options>
</kendo-autocomplete>
Child Tags
Constructors
Initializes a new instance of the AutoCompleteSuffixOptionsSettingsTagHelper class.
public AutoCompleteSuffixOptionsSettingsTagHelper()
Properties
Defines the name for an existing icon in a Kendo UI theme or SVG content.Set 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.