Kendo UI rotation TagHelper ChartAxisDefaultsLabelsRotationSettingsTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
C#
[HtmlTargetElement("chart-axis-defaults-labels-rotation", ParentTag = "labels", TagStructure = TagStructure.WithoutEndTag)]
[SuppressTagRendering]
public class ChartAxisDefaultsLabelsRotationSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseChartAxisDefaultsLabelsRotationSettingsTagHelper
Implements:
Inherited Members
Example:
csharp
@addTagHelper *, Kendo.Mvc
<kendo-chart name="chart">
<axis-defaults>
<labels>
<chart-axis-defaults-labels-rotation align="ChartAxisLabelRotationAlignment.Center" />
</labels>
</axis-defaults>
</kendo-chart>
Constructors
Initializes a new instance of the ChartAxisDefaultsLabelsRotationSettingsTagHelper class.
C#
public ChartAxisDefaultsLabelsRotationSettingsTagHelper()
Properties
Specifies the rotation of the labels.
C#
public ChartAxisLabelRotationAlignment? Align { 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.