Kendo UI scale TagHelper RadialGaugeScaleSettingsTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("scale", ParentTag = "kendo-radialgauge", TagStructure = TagStructure.NormalOrSelfClosing)]
[RestrictChildren("radialgauge-scale-labels", new string[] { "radialgauge-scale-major-ticks", "radialgauge-scale-minor-ticks", "radialgauge-scale-ranges" })]
[SuppressTagRendering]
public class RadialGaugeScaleSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseRadialGaugeScaleSettingsTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-radialgauge name="radialgauge">
<scale end-angle="180"></scale>
</kendo-radialgauge>
Child Tags
Constructors
Initializes a new instance of the RadialGaugeScaleSettingsTagHelper class.
public RadialGaugeScaleSettingsTagHelper()
Properties
The end angle of the gauge. The gauge is rendered clockwise(0 degrees are the 180 degrees in the polar coordinate system)
public double? EndAngle { get; set; }
The distance from the range indicators to the ticks.
public double? RangeDistance { get; set; }
The default color for the ranges.
public string RangePlaceholderColor { get; set; }
Reverses the scale direction - values are increase anticlockwise.
public bool? Reverse { get; set; }
The start angle of the gauge. The gauge is rendered clockwise(0 degrees are the 180 degrees in the polar coordinate system)
public double? StartAngle { 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.