Kendo UI labels TagHelper SankeyNodesLabelsSettingsTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("labels", ParentTag = "nodes", TagStructure = TagStructure.WithoutEndTag)]
[SuppressTagRendering]
public class SankeyNodesLabelsSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent, ITemplateComponent
Inheritance: objectTagHelperTagHelperChildBaseSankeyNodesLabelsSettingsTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-sankey name="sankey">
<nodes>
<labels aria-template="Node: #: name #"></labels>
</nodes>
<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>
Constructors
Initializes a new instance of the SankeyNodesLabelsSettingsTagHelper class.
public SankeyNodesLabelsSettingsTagHelper()
Properties
The template that will be used for the aria-label attribute of the node.
public string AriaTemplate { get; set; }
The template that will be used for the aria-label attribute of the node. This option expects the name of a JavaScript function that will be called to return the template.
public string AriaTemplateHandler { get; set; }
The template that will be used for the aria-label attribute of the node. This option expects the ID of the script element that contains the template.
public string AriaTemplateId { get; set; }
The template that will be used for the aria-label attribute of the node. This option expects the IHtmlContent instance containing the created HTML.
public IHtmlContent AriaTemplateView { get; set; }
Configures the templates for the SankeyNodesLabelsSettings.
[HtmlAttributeNotBound]
public IDictionary<string, string> Templates { get; }
Implements:
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.
Serializes the defined templates.