Kendo UI stroke TagHelper DiagramShapeConnectorDefaultsStrokeSettingsTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("stroke", ParentTag = "connector-defaults", TagStructure = TagStructure.WithoutEndTag)]
[SuppressTagRendering]
public class DiagramShapeConnectorDefaultsStrokeSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseDiagramShapeConnectorDefaultsStrokeSettingsTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-diagram name="diagram">
<shapes>
<shape>
<connector-defaults>
<stroke color="#ff0000" />
</connector-defaults>
</shape>
</shapes>
</kendo-diagram>
Constructors
Initializes a new instance of the DiagramShapeConnectorDefaultsStrokeSettingsTagHelper class.
public DiagramShapeConnectorDefaultsStrokeSettingsTagHelper()
Properties
The dash type of the stroke.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.