Kendo UI SankeyDataSettingsNode TagHelper SankeyDataSettingsNodeTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
C#
[HtmlTargetElement("node", ParentTag = "nodes", TagStructure = TagStructure.NormalOrSelfClosing)]
[RestrictChildren("label", new string[] { "offset" })]
[SuppressTagRendering]
public class SankeyDataSettingsNodeTagHelper : TagHelperCollectionItemBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseTagHelperCollectionItemBaseSankeyDataSettingsNodeTagHelper
Implements:
Inherited Members
Example:
csharp
@addTagHelper *, Kendo.Mvc
<kendo-sankey name="sankey">
<data>
<nodes>
<node id="1" align="NodesAlign.Left"><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 SankeyDataSettingsNodeTagHelper class.
C#
public SankeyDataSettingsNodeTagHelper()
Properties
The alignment of the node.
C#
public NodesAlign? Align { get; set; }
The color of the node. Accepts a valid CSS color string, including hex and rgb.
C#
public string Color { get; set; }
The ID of the node. The ID is used to connect the nodes with the links.
C#
public object Id { 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.