Kendo UI tree TagHelper FileManagerViewsTreeSettingsTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("tree", ParentTag = "views", TagStructure = TagStructure.NormalOrSelfClosing)]
[RestrictChildren("item-template", new string[] { })]
[SuppressTagRendering]
public class FileManagerViewsTreeSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent, ITemplateComponent
Inheritance: objectTagHelperTagHelperChildBaseFileManagerViewsTreeSettingsTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-filemanager name="filemanager">
<views>
<tree template="<div>Custom Node Template</div>"></tree>
</views>
</kendo-filemanager>
Child Tags
Constructors
Initializes a new instance of the FileManagerViewsTreeSettingsTagHelper class.
public FileManagerViewsTreeSettingsTagHelper()
Properties
Template for rendering each node. This option expects the name of a JavaScript function that will be called to return the template.
public string TemplateHandler { get; set; }
Template for rendering each node. This option expects the ID of the script element that contains the template.
public string TemplateId { get; set; }
Configures the templates for the component.
[HtmlAttributeNotBound]
public IDictionary<string, string> Templates { get; }
Implements:
Template for rendering each node. This option expects the IHtmlContent instance containing the created HTML.
public IHtmlContent TemplateView { 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.