Kendo UI DiagramShapeDefaultsSettingsConnector TagHelper DiagramShapeDefaultsSettingsConnectorTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("connector", ParentTag = "connectors", TagStructure = TagStructure.NormalOrSelfClosing)]
[RestrictChildren("hover", new string[] { "fill", "stroke" })]
[SuppressTagRendering]
public class DiagramShapeDefaultsSettingsConnectorTagHelper : TagHelperCollectionItemBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseTagHelperCollectionItemBaseDiagramShapeDefaultsSettingsConnectorTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-diagram name="diagram">
<shape-defaults>
<connectors>
<connector>
<fill />
</connector>
</connectors>
</shape-defaults>
</kendo-diagram>
Child Tags
Constructors
Initializes a new instance of the DiagramShapeDefaultsSettingsConnectorTagHelper class.
public DiagramShapeDefaultsSettingsConnectorTagHelper()
Properties
Defines the fill options of the shape connectors.
[HtmlAttributeName("fill")]
public string FillValue { get; set; }
The connector name. The name is referenced when specifying explicit fromConnector and toConnector values in a connection.
public string Name { get; set; }
Defines the offset applied to the connector position. The offset pushes the connector away from the shape edge by the specified number of pixels in the direction appropriate for the connector's position (e.g., upward for "top", downward for "bottom", etc.).
public double? Offset { get; set; }
The function that positions the connector. The function is passed a shape and should return kendo.dataviz.diagram. As a result, a point that holds the connector position appears.
public string Position { get; set; }
Defines the stroke options of the shape connectors.
[HtmlAttributeName("stroke")]
public string StrokeValue { 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.