Kendo UI highlight TagHelper SankeyLinksHighlightSettingsTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
C#
[HtmlTargetElement("highlight", ParentTag = "links", TagStructure = TagStructure.WithoutEndTag)]
[SuppressTagRendering]
public class SankeyLinksHighlightSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseSankeyLinksHighlightSettingsTagHelper
Implements:
Inherited Members
Example:
csharp
@addTagHelper *, Kendo.Mvc
<kendo-sankey name="sankey">
<links>
<highlight inactive-opacity="0.3" />
</links>
<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 SankeyLinksHighlightSettingsTagHelper class.
C#
public SankeyLinksHighlightSettingsTagHelper()
Properties
The opacity of the links when they are not active.
C#
public double? InactiveOpacity { 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.