Kendo UI labels TagHelper ChartWizardStateValueAxisLabelsSettingsTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("labels", ParentTag = "value-axis-item", TagStructure = TagStructure.NormalOrSelfClosing)]
[SuppressTagRendering]
public class ChartWizardStateValueAxisLabelsSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseChartWizardStateValueAxisLabelsSettingsTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-chartwizard name="chartwizard">
<state>
<state-value-axis>
<value-axis-item>
<labels color="#ff0000"></labels>
</value-axis-item>
</state-value-axis>
</state>
</kendo-chartwizard>
Constructors
Initializes a new instance of the ChartWizardStateValueAxisLabelsSettingsTagHelper class.
public ChartWizardStateValueAxisLabelsSettingsTagHelper()
Properties
The text color of the labels. Accepts a valid CSS color string, including hex and rgb.
public string Color { get; set; }
The font style of the labels. Accepts a valid CSS color string, for example "20px 'Courier New'".
public string Font { get; set; }
The format used to display the labels. Uses kendo.format. Contains one placeholder ("{0}") which represents the category value.
public string Format { get; set; }
The rotation angle (in degrees) of the labels. By default the labels are not rotated. Angles increase clockwise and zero is to the left. Negative values are acceptable. Can be set to "auto" if the axis is horizontal in which case the labels will be rotated only if the slot size is not sufficient for the entire labels.
public object Rotation { 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.