Kendo UI minorTicks TagHelper ChartXAxisMinorTicksSettingsTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
C#
[HtmlTargetElement("minor-ticks", ParentTag = "x-axis-item", TagStructure = TagStructure.WithoutEndTag)]
[SuppressTagRendering]
public class ChartXAxisMinorTicksSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseChartXAxisMinorTicksSettingsTagHelper
Implements:
Inherited Members
Example:
csharp
@addTagHelper *, Kendo.Mvc
<kendo-chart name="chart">
<x-axis>
<x-axis-item>
<minor-ticks color="#ff0000" />
</x-axis-item>
</x-axis>
</kendo-chart>
Constructors
Initializes a new instance of the ChartXAxisMinorTicksSettingsTagHelper class.
C#
public ChartXAxisMinorTicksSettingsTagHelper()
Properties
The color of the x axis minor ticks lines. Accepts a valid CSS color string, including hex and rgb.
C#
public string Color { get; set; }
If set to true the chart will display the x axis minor ticks. By default the x axis minor ticks are not visible.
C#
public bool? Visible { get; set; }
Methods
Adds the current TagHelper instance to its parent TagHelper.
C#
protected override void AddSelfToParent(TagHelperContext context)
The TagHelper context.
Overrides:
C#
public override Task ProcessAsync(TagHelperContext context, TagHelperOutput output)
Overrides:
Serializes the defined settings.