Kendo UI stroke TagHelper DiagramConnectionStrokeSettingsTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
C#
[HtmlTargetElement("stroke", ParentTag = "connection", TagStructure = TagStructure.WithoutEndTag)]
[SuppressTagRendering]
public class DiagramConnectionStrokeSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseDiagramConnectionStrokeSettingsTagHelper
Implements:
Inherited Members
Example:
csharp
@addTagHelper *, Kendo.Mvc
<kendo-diagram name="diagram">
<connections>
<connection>
<stroke color="red" />
</connection>
</connections>
</kendo-diagram>
Constructors
Initializes a new instance of the DiagramConnectionStrokeSettingsTagHelper class.
C#
public DiagramConnectionStrokeSettingsTagHelper()
Properties
Defines the line cap style of the stroke. Supported values are "butt", "round", and "square".
C#
public DiagramStrokeLineCap? LineCap { get; set; }
Defines the line join style of the stroke. Supported values are "bevel", "miter", and "round".
C#
public DiagramStrokeLineJoin? LineJoin { 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.