Kendo UI editable TagHelper DiagramShapeEditableSettingsTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
C#
[HtmlTargetElement("editable", ParentTag = "shape", TagStructure = TagStructure.NormalOrSelfClosing)]
[RestrictChildren("tools", new string[] { })]
[SuppressTagRendering]
public class DiagramShapeEditableSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseDiagramShapeEditableSettingsTagHelper
Implements:
Inherited Members
Example:
csharp
@addTagHelper *, Kendo.Mvc
<kendo-diagram name="diagram">
<shapes>
<shape>
<editable connect="false"></editable>
</shape>
</shapes>
</kendo-diagram>
Child Tags
Constructors
Initializes a new instance of the DiagramShapeEditableSettingsTagHelper class.
C#
public DiagramShapeEditableSettingsTagHelper()
Properties
Specifies whether the connectors should appear on hover. If set to false, the user will not be able to create new connections from this shape to other shapes. Also, it will not be possible to change the connector of an existing connection between this and another shape.
C#
public bool? Connect { 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.