Kendo UI endCap TagHelper DiagramConnectionEndCapSettingsTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
C#
[HtmlTargetElement("end-cap", ParentTag = "connection", TagStructure = TagStructure.NormalOrSelfClosing)]
[RestrictChildren("fill", new string[] { "stroke", "anchor" })]
[SuppressTagRendering]
public class DiagramConnectionEndCapSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseDiagramConnectionEndCapSettingsTagHelper
Implements:
Inherited Members
Example:
csharp
@addTagHelper *, Kendo.Mvc
<kendo-diagram name="diagram">
<connections>
<connection>
<end-cap>
<anchor x="0.5" y="1" />
</end-cap>
</connection>
</connections>
</kendo-diagram>
Child Tags
Constructors
Initializes a new instance of the DiagramConnectionEndCapSettingsTagHelper class.
C#
public DiagramConnectionEndCapSettingsTagHelper()
Properties
The connection end cap fill options or color.
C#
[HtmlAttributeName("fill")]
public string FillValue { get; set; }
The SVG path data for the arrow marker. Applies when the type is "ArrowEnd" or "ArrowStart".
C#
public string Path { get; set; }
The radius of the filled circle marker. Applies when the type is "FilledCircle".
C#
public double? Radius { get; set; }
The connection end cap stroke options or color.
C#
[HtmlAttributeName("stroke")]
public string StrokeValue { 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.