Kendo UI title TagHelper ChartPaneDefaultsTitleSettingsTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("title", ParentTag = "pane-defaults", TagStructure = TagStructure.NormalOrSelfClosing)]
[RestrictChildren("border", new string[] { "margin" })]
[SuppressTagRendering]
public class ChartPaneDefaultsTitleSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseChartPaneDefaultsTitleSettingsTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-chart name="chart">
<pane-defaults>
<title background="#f2f2f2"></title>
</pane-defaults>
</kendo-chart>
Child Tags
Constructors
Initializes a new instance of the ChartPaneDefaultsTitleSettingsTagHelper class.
public ChartPaneDefaultsTitleSettingsTagHelper()
Properties
The background color of the title. Accepts a valid CSS color string, including hex and rgb.
public string Background { get; set; }
The text color of the title. Accepts a valid CSS color string, including hex and rgb.
public string Color { get; set; }
The position of the title.The supported values are: "left" - the axis title is positioned on the left (applicable to horizontal axis); "right" - the axis title is positioned on the right (applicable to horizontal axis) or "center" - the axis title is positioned in the center.
public string Position { get; set; }
A function that can be used to create a custom visual for the title. The available argument fields are: text - the label text.; rect - the kendo.geometry.Rect that defines where the visual should be rendered. or sender - the chart instance (may be undefined)..
public string Visual { 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.