Kendo UI to TagHelper ChartSeriesDefaultsLabelsToSettingsTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("chart-series-defaults-labels-to", ParentTag = "labels", TagStructure = TagStructure.NormalOrSelfClosing)]
[RestrictChildren("border", new string[] { "margin", "padding" })]
[SuppressTagRendering]
public class ChartSeriesDefaultsLabelsToSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent, ITemplateComponent
Inheritance: objectTagHelperTagHelperChildBaseChartSeriesDefaultsLabelsToSettingsTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-chart name="chart">
<series-defaults>
<labels>
<chart-series-defaults-labels-to background="red" />
</labels>
</series-defaults>
</kendo-chart>
Child Tags
Constructors
Initializes a new instance of the ChartSeriesDefaultsLabelsToSettingsTagHelper class.
public ChartSeriesDefaultsLabelsToSettingsTagHelper()
Properties
The background color of the to labels. Accepts a valid CSS color string, including hex and rgb.
public string Background { get; set; }
The text color of the to labels. Accepts a valid CSS color string, including hex and rgb.
public string Color { get; set; }
The template which renders the chart series to label.
public string Template { get; set; }
The template which renders the chart series to 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 which renders the chart series to label. This option expects the ID of the script element that contains the template.
public string TemplateId { get; set; }
Configures the templates for the ChartSeriesDefaultsLabelsToSettings.
[HtmlAttributeNotBound]
public IDictionary<string, string> Templates { get; }
Implements:
The template which renders the chart series to 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.
Serializes the defined templates.