Kendo UI scale TagHelper LinearGaugeScaleSettingsTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
C#
[HtmlTargetElement("scale", ParentTag = "kendo-lineargauge", TagStructure = TagStructure.NormalOrSelfClosing)]
[RestrictChildren("lineargauge-scale-line", new string[] { "lineargauge-scale-labels", "lineargauge-scale-major-ticks", "lineargauge-scale-minor-ticks", "lineargauge-scale-ranges" })]
[SuppressTagRendering]
public class LinearGaugeScaleSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseLinearGaugeScaleSettingsTagHelper
Implements:
Inherited Members
Example:
csharp
@addTagHelper *, Kendo.Mvc
<kendo-lineargauge name="lineargauge">
<scale>
<lineargauge-scale-labels></lineargauge-scale-labels>
</scale>
</kendo-lineargauge>
Child Tags
Constructors
Initializes a new instance of the LinearGaugeScaleSettingsTagHelper class.
C#
public LinearGaugeScaleSettingsTagHelper()
Properties
Mirrors the scale labels and ticks. If the labels are normally on the left side of the scale, mirroring the scale will render them to the right.
C#
public bool? Mirror { get; set; }
The default color for the ranges.
C#
public string RangePlaceholderColor { get; set; }
Reverses the axis direction - values increase from right to left and from top to bottom.
C#
public bool? Reverse { 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.