Kendo UI prefixOptions TagHelper MultiColumnComboBoxPrefixOptionsSettingsTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("prefix-options", ParentTag = "kendo-multicolumncombobox", TagStructure = TagStructure.NormalOrSelfClosing)]
[HtmlTargetElement("prefix-options", ParentTag = "multicolumncombobox-editor", TagStructure = TagStructure.NormalOrSelfClosing)]
[RestrictChildren("prefix-template", new string[] { "multicolumncombobox-prefix-options-icon" })]
[SuppressTagRendering]
public class MultiColumnComboBoxPrefixOptionsSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent, ITemplateComponent
Inheritance: objectTagHelperTagHelperChildBaseMultiColumnComboBoxPrefixOptionsSettingsTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-multicolumncombobox name="multicolumncombobox">
<prefix-options icon="user"></prefix-options>
</kendo-multicolumncombobox>
Child Tags
Constructors
Initializes a new instance of the MultiColumnComboBoxPrefixOptionsSettingsTagHelper class.
public MultiColumnComboBoxPrefixOptionsSettingsTagHelper()
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 prefix adornment will not have a separator.
public bool? Separator { get; set; }
The template for the prefix adornment of the component.
public string Template { get; set; }
The template for the prefix 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 prefix 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 prefix 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.