Kendo UI border TagHelper ChartSeriesLabelsBorderSettingsTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("chart-series-labels-border", ParentTag = "labels", TagStructure = TagStructure.WithoutEndTag)]
[SuppressTagRendering]
public class ChartSeriesLabelsBorderSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseChartSeriesLabelsBorderSettingsTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-chart name="chart">
<series>
<series-item>
<labels>
<chart-series-labels-border color="red" />
</labels>
</series-item>
</series>
</kendo-chart>
Constructors
Initializes a new instance of the ChartSeriesLabelsBorderSettingsTagHelper class.
public ChartSeriesLabelsBorderSettingsTagHelper()
Properties
The color of the border. Accepts a valid CSS color string, including hex and rgb.
public string Color { get; set; }
The color of the border. Accepts a valid CSS color string, including hex and rgb.
public string ColorHandler { get; set; }
The dash type of the border.The following dash types are supported: "dash" - a line consisting of dashes; "dashDot" - a line consisting of a repeating pattern of dash-dot; "dot" - a line consisting of dots; "longDash" - a line consisting of a repeating pattern of long-dash; "longDashDot" - a line consisting of a repeating pattern of long-dash-dot; "longDashDotDot" - a line consisting of a repeating pattern of long-dash-dot-dot or "solid" - a solid line.
public DashType? DashType { get; set; }
The dash type of the border.The following dash types are supported: "dash" - a line consisting of dashes; "dashDot" - a line consisting of a repeating pattern of dash-dot; "dot" - a line consisting of dots; "longDash" - a line consisting of a repeating pattern of long-dash; "longDashDot" - a line consisting of a repeating pattern of long-dash-dot; "longDashDotDot" - a line consisting of a repeating pattern of long-dash-dot-dot or "solid" - a solid line.
public string DashTypeHandler { get; set; }
The width of the border in pixels. By default the border width is set to zero which means that the border will not appear.
public double? Width { get; set; }
The width of the border in pixels. By default the border width is set to zero which means that the border will not appear.
public string WidthHandler { 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.