GanttToolbarBuilder
Defines the fluent API for configuring the GanttToolbar settings.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class GanttToolbarBuilder
Inheritance: objectGanttToolbarBuilder
Inherited Members
Constructors
Methods
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 GanttToolbarBuilder Name(string value)
The value that configures the name.
Returns:The template which renders the command. By default renders a button.
public GanttToolbarBuilder Template(string value)
The value that configures the template.
Returns:The template which renders the command. By default renders a button.
public GanttToolbarBuilder Template<TModel>(TemplateBuilder<TModel> template)
A Template component that configures the template.
Returns:The template which renders the command. By default renders a button.
public GanttToolbarBuilder TemplateHandler(string value)
The value that configures the template.
Returns:The template which renders the command. By default renders a button.
public GanttToolbarBuilder TemplateId(string value)
The value that configures the template.
Returns:The template which renders the command. By default renders a button.
public GanttToolbarBuilder TemplateView(MvcHtmlString value)
The value that configures the template.
Returns:The text displayed by the command button. If not set the name` option would be used as the button text instead.
public GanttToolbarBuilder Text(string value)
The value that configures the text.
Returns: