Kendo UI title TagHelper SankeyTitleSettingsTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("title", ParentTag = "kendo-sankey", TagStructure = TagStructure.NormalOrSelfClosing)]
[RestrictChildren("border", new string[] { "margin", "padding" })]
[SuppressTagRendering]
public class SankeyTitleSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseSankeyTitleSettingsTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-sankey name="sankey">
<title align="LabelAlign.Center"></title>
<data>
<nodes>
<node id="1">
<label text="Source">
</label>
</node>
<node id="2">
<label text="Target"></label>
</node>
</nodes>
<links>
<link source-id="1" target-id="2" value="12"/>
</links>
</data>
</kendo-sankey>
Child Tags
Constructors
Initializes a new instance of the SankeyTitleSettingsTagHelper class.
public SankeyTitleSettingsTagHelper()
Properties
The alignment of the title.
public LabelAlign? Align { get; set; }
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 accessible description of the Sankey. The description is announced by screen readers when the Sankey is focused.
public string Description { get; set; }
The position of the title.
public TitlePosition? Position { get; set; }
The text of the Sankey title. You can also set the text directly for a title with default options.
public string Text { 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.