Kendo UI minorTicks TagHelper ChartValueAxisMinorTicksSettingsTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
C#
[HtmlTargetElement("minor-ticks", ParentTag = "value-axis-item", TagStructure = TagStructure.WithoutEndTag)]
[SuppressTagRendering]
public class ChartValueAxisMinorTicksSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseChartValueAxisMinorTicksSettingsTagHelper
Implements:
Inherited Members
Example:
csharp
@addTagHelper *, Kendo.Mvc
<kendo-chart name="chart">
<value-axis>
<value-axis-item>
<minor-ticks color="#ff0000" />
</value-axis-item>
</value-axis>
</kendo-chart>
Constructors
Initializes a new instance of the ChartValueAxisMinorTicksSettingsTagHelper class.
C#
public ChartValueAxisMinorTicksSettingsTagHelper()
Properties
The color of the value 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 value axis minor ticks. By default the value 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.