Kendo UI editable TagHelper OrgChartEditableSettingsTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("editable", ParentTag = "kendo-orgchart", TagStructure = TagStructure.NormalOrSelfClosing)]
[RestrictChildren("kendo-form", new string[] { })]
[SuppressTagRendering]
public class OrgChartEditableSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseOrgChartEditableSettingsTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-orgchart name="orgchart">
<editable create="true"></editable>
</kendo-orgchart>
Child Tags
Constructors
Initializes a new instance of the OrgChartEditableSettingsTagHelper class.
public OrgChartEditableSettingsTagHelper()
Properties
Allows the user to create new items as children of existing ones. If set to false, creating new items will not be available in the item edit pop-up menu.
public bool? Create { get; set; }
Allows the user to delete items. If set to false, delete item will not be available in the item edit pop-up menu.
public bool? Destroy { get; set; }
Allows the user to edit the title, name, and avatar of the item. If set to false, editing those fields will not be available in the pop-up editor of the widget.
public bool? Fields { get; set; }
Defines the form that will be used for editing.
[HtmlAttributeNotBound]
public IDictionary<string, object> FormSettings { get; set; }
Allows editing the structure (id/parentId relation). If the parentId has also configuration in the form configuration object, the editable.parent value will be taken into account. If set to false, editing the id/parentId relation will not be available.
public bool? Parent { 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.