Kendo UI connectionDefaults TagHelper DiagramConnectionDefaultsSettingsTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("connection-defaults", ParentTag = "kendo-diagram", TagStructure = TagStructure.NormalOrSelfClosing)]
[RestrictChildren("content", new string[] { "editable", "end-cap", "hover", "selection", "start-cap", "stroke", "accessibility" })]
[SuppressTagRendering]
public class DiagramConnectionDefaultsSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseDiagramConnectionDefaultsSettingsTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-diagram name="diagram">
<connection-defaults>
<accessibility></accessibility>
</connection-defaults>
</kendo-diagram>
Child Tags
Constructors
Initializes a new instance of the DiagramConnectionDefaultsSettingsTagHelper class.
public DiagramConnectionDefaultsSettingsTagHelper()
Properties
Defines the corner radius of the connection.
public double? CornerRadius { get; set; }
The connections end cap configuration. Can be set to a configuration object or a string that represents the endCap.type value.
[HtmlAttributeName("end-cap")]
public string EndCapValue { get; set; }
Specifies the name of the source shape connector that should be used by default. Valid values are "top", "right", "bottom", "left" and "auto".
public string FromConnector { get; set; }
Specifies if connections can be selected.
public bool? Selectable { get; set; }
The connection start cap configuration or type name.
[HtmlAttributeName("start-cap")]
public string StartCapValue { get; set; }
Specifies the name of the target shape connector that should be used by default. Valid values are "top", "right", "bottom", "left" and "auto".
public string ToConnector { get; set; }
The connections 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.