Kendo UI labels TagHelper RadialGaugeScaleLabelsSettingsTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("radialgauge-scale-labels", ParentTag = "scale", TagStructure = TagStructure.NormalOrSelfClosing)]
[RestrictChildren("border", new string[] { "margin", "padding", "labels-template" })]
[SuppressTagRendering]
public class RadialGaugeScaleLabelsSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent, ITemplateComponent
Inheritance: objectTagHelperTagHelperChildBaseRadialGaugeScaleLabelsSettingsTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-radialgauge name="radialgauge">
<scale>
<radialgauge-scale-labels background="#f5f5f5"></radialgauge-scale-labels>
</scale>
</kendo-radialgauge>
Child Tags
Constructors
Initializes a new instance of the RadialGaugeScaleLabelsSettingsTagHelper class.
public RadialGaugeScaleLabelsSettingsTagHelper()
Properties
The background color of the labels. Any valid CSS color string will work here, including hex and rgb
public string Background { get; set; }
The text color of the labels. Any valid CSS color string will work here, including hex and rgb.
public string Color { get; set; }
The labels positions.
public GaugeRadialScaleLabelsPosition? Position { get; set; }
The label template. Template variables: value - the value.
public string Template { get; set; }
The label template. Template variables: value - the value. This option expects the name of a JavaScript function that will be called to return the template.
public string TemplateHandler { get; set; }
The label template. Template variables: value - the value. 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 label template. Template variables: value - the value. 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.