Kendo UI stroke TagHelper DiagramConnectionStartCapStrokeSettingsTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("stroke", ParentTag = "start-cap", TagStructure = TagStructure.WithoutEndTag)]
[SuppressTagRendering]
public class DiagramConnectionStartCapStrokeSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseDiagramConnectionStartCapStrokeSettingsTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-diagram name="diagram">
<connections>
<connection>
<start-cap>
<stroke color="red" />
</start-cap>
</connection>
</connections>
</kendo-diagram>
Constructors
Initializes a new instance of the DiagramConnectionStartCapStrokeSettingsTagHelper class.
public DiagramConnectionStartCapStrokeSettingsTagHelper()
Properties
The connection start cap stroke dash type.The following dash types are supported: "dash" - A line that consists of dashes; "dashDot" - A line that consists of a repeating pattern of dash-dot; "dot" - A line that consists of dots; "longDash" - A line that consists of a repeating pattern of long-dash; "longDashDot" - A line that consists of a repeating pattern of long-dash-dot; "longDashDotDot" - A line that consists of a repeating pattern of long-dash-dot-dot or "solid" - A solid line.
public DiagramDashType? DashType { 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.