Kendo UI label TagHelper RatingLabelSettingsTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("label", ParentTag = "kendo-rating", TagStructure = TagStructure.NormalOrSelfClosing)]
[HtmlTargetElement("label", ParentTag = "rating-editor", TagStructure = TagStructure.NormalOrSelfClosing)]
[RestrictChildren("label-template", new string[] { })]
[SuppressTagRendering]
public class RatingLabelSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent, ITemplateComponent
Inheritance: objectTagHelperTagHelperChildBaseRatingLabelSettingsTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-rating name="rating">
<label enabled="true"></label>
</kendo-rating>
Child Tags
Constructors
Initializes a new instance of the RatingLabelSettingsTagHelper class.
public RatingLabelSettingsTagHelper()
Properties
The template for the label. 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 label. This option expects the ID of the script element that contains the template.
public string TemplateId { get; set; }
Configures the templates for the component.
[HtmlAttributeNotBound]
public IDictionary<string, string> Templates { get; }
Implements:
The template for the label. 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.