Kendo UI connectorDefaults TagHelper DiagramShapeConnectorDefaultsSettingsTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("connector-defaults", ParentTag = "shape", TagStructure = TagStructure.NormalOrSelfClosing)]
[RestrictChildren("hover", new string[] { "fill", "stroke" })]
[SuppressTagRendering]
public class DiagramShapeConnectorDefaultsSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseDiagramShapeConnectorDefaultsSettingsTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-diagram name="diagram">
<shapes>
<shape>
<connector-defaults>
<fill color="red" />
</connector-defaults>
</shape>
</shapes>
</kendo-diagram>
Child Tags
Constructors
Initializes a new instance of the DiagramShapeConnectorDefaultsSettingsTagHelper class.
public DiagramShapeConnectorDefaultsSettingsTagHelper()
Properties
Defines the fill options of the shape connectors.
[HtmlAttributeName("fill")]
public string FillValue { 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; }
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.