Kendo UI GanttToolbar TagHelper GanttToolbarTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("toolbar", ParentTag = "toolbars", TagStructure = TagStructure.NormalOrSelfClosing)]
[SuppressTagRendering]
public class GanttToolbarTagHelper : TagHelperCollectionItemBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseTagHelperCollectionItemBaseGanttToolbarTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-gantt name="gantt">
<toolbars>
<toolbar name="append"></toolbar>
</toolbars>
</kendo-gantt>
Constructors
Initializes a new instance of the GanttToolbarTagHelper class.
public GanttToolbarTagHelper()
Properties
The name of the toolbar command. Either a built-in ("append" and "pdf") or custom. The name is reflected in one of the CSS classes, which is applied to the button - k-gantt-name. This class can be used to obtain reference to the button after Gantt initialization and attach click handlers.
public string Name { get; set; }
The template which renders the command. By default renders a button.
public string Template { get; set; }
The template which renders the command. By default renders a button. This option expects the name of a JavaScript function that will be called to return the template.
public string TemplateHandler { get; set; }
The template which renders the command. By default renders a button. This option expects the ID of the script element that contains the template.
public string TemplateId { get; set; }
The template which renders the command. By default renders a button. 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.