Kendo UI majorTicks TagHelper LinearGaugeScaleMajorTicksSettingsTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
C#
[HtmlTargetElement("lineargauge-scale-major-ticks", ParentTag = "scale", TagStructure = TagStructure.WithoutEndTag)]
[SuppressTagRendering]
public class LinearGaugeScaleMajorTicksSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseLinearGaugeScaleMajorTicksSettingsTagHelper
Implements:
Inherited Members
Example:
csharp
@addTagHelper *, Kendo.Mvc
<kendo-lineargauge name="lineargauge">
<scale>
<lineargauge-scale-major-ticks color="#ff0000" />
</scale>
</kendo-lineargauge>
Constructors
Initializes a new instance of the LinearGaugeScaleMajorTicksSettingsTagHelper class.
C#
public LinearGaugeScaleMajorTicksSettingsTagHelper()
Properties
The color of the major ticks. Any valid CSS color string will work here, including hex and rgb.
C#
public string Color { get; set; }
The major tick size. This is the length of the line in pixels that is drawn to indicate the tick on the scale.
C#
public double? Size { 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.