Kendo UI DiagramConnection TagHelper DiagramConnectionTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("connection", ParentTag = "connections", TagStructure = TagStructure.NormalOrSelfClosing)]
[RestrictChildren("content", new string[] { "editable", "end-cap", "from", "hover", "points", "selection", "start-cap", "stroke", "to", "accessibility" })]
[SuppressTagRendering]
public class DiagramConnectionTagHelper : TagHelperCollectionItemBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseTagHelperCollectionItemBaseDiagramConnectionTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-diagram name="diagram">
<connections>
<connection>
<accessibility></accessibility>
</connection>
</connections>
</kendo-diagram>
Child Tags
Constructors
Initializes a new instance of the DiagramConnectionTagHelper class.
public DiagramConnectionTagHelper()
Properties
Defines the corner radius of the connection.
public double? CornerRadius { get; set; }
DataItem member.
[HtmlAttributeName("dataitem")]
public object DataItem { get; set; }
The connection end cap configuration or type name.
[HtmlAttributeName("end-cap")]
public string EndCapValue { get; set; }
Specifies the name of the source shape connector that should be used by the connection.
public string FromConnector { get; set; }
Defines the source of the connection. You can set this property to a value matching a shape id or to an object with XY-coordinates.
[HtmlAttributeName("from")]
public string FromValue { get; set; }
Specifies if the connection can be selected.
public bool? Selectable { get; set; }
The start cap (arrow, head or decoration) of the connection.
[HtmlAttributeName("start-cap")]
public string StartCapValue { get; set; }
Specifies the name of the target shape connector that should be used by the connection.
public string ToConnector { get; set; }
Defines the target of the connection. You can set this property to a value matching a shape id or to an object with XY-coordinates.
[HtmlAttributeName("to")]
public string ToValue { get; set; }
The connection type.
public DiagramConnectionType? Type { 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.