Kendo UI editable TagHelper DiagramEditableSettingsTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("editable", ParentTag = "kendo-diagram", TagStructure = TagStructure.NormalOrSelfClosing)]
[RestrictChildren("drag", new string[] { "resize", "rotate", "tools", "diagram-shape-template" })]
[SuppressTagRendering]
public class DiagramEditableSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent, ITemplateComponent
Inheritance: objectTagHelperTagHelperChildBaseDiagramEditableSettingsTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-diagram name="diagram">
<editable connection-template="<div>Edit Connection</div>">
</editable>
</kendo-diagram>
Child Tags
Constructors
Initializes a new instance of the DiagramEditableSettingsTagHelper class.
public DiagramEditableSettingsTagHelper()
Properties
Specifies the connection editor template which shows up when editing the connection. A template can be used to change the default editors for the connection fields or to prevent some fields from being edited by not rendering an editor input for them.
public string ConnectionTemplate { get; set; }
Specifies the connection editor template which shows up when editing the connection. A template can be used to change the default editors for the connection fields or to prevent some fields from being edited by not rendering an editor input for them. This option expects the name of a JavaScript function that will be called to return the template.
public string ConnectionTemplateHandler { get; set; }
Specifies the connection editor template which shows up when editing the connection. A template can be used to change the default editors for the connection fields or to prevent some fields from being edited by not rendering an editor input for them. This option expects the ID of the script element that contains the template.
public string ConnectionTemplateId { get; set; }
Specifies the connection editor template which shows up when editing the connection. A template can be used to change the default editors for the connection fields or to prevent some fields from being edited by not rendering an editor input for them. This option expects the IHtmlContent instance containing the created HTML.
public IHtmlContent ConnectionTemplateView { get; set; }
Specifies if the shapes and connections can be removed.
public bool? Remove { get; set; }
Specifies the shape editor template. You can use it to customize the editing UI of the shape or to display editor controls only for certain fields of the shape data item.
public string ShapeTemplate { get; set; }
Specifies the shape editor template. You can use it to customize the editing UI of the shape or to display editor controls only for certain fields of the shape data item. This option expects the name of a JavaScript function that will be called to return the template.
public string ShapeTemplateHandler { get; set; }
Specifies the shape editor template. You can use it to customize the editing UI of the shape or to display editor controls only for certain fields of the shape data item. This option expects the ID of the script element that contains the template.
public string ShapeTemplateId { get; set; }
Specifies the shape editor template. You can use it to customize the editing UI of the shape or to display editor controls only for certain fields of the shape data item. This option expects the IHtmlContent instance containing the created HTML.
public IHtmlContent ShapeTemplateView { get; set; }
Represents a collection of templates defined for the component.
[HtmlAttributeNotBound]
public IDictionary<string, string> Templates { get; }
Implements:
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.